Database error is more detailed
renamed debug_or_exception to error_or_exception
This commit is contained in:
+1
-1
@@ -215,7 +215,7 @@ def getDrive(drive=None, gauth=None):
|
||||
except RefreshError as e:
|
||||
log.error("Google Drive error: %s", e)
|
||||
except Exception as ex:
|
||||
log.debug_or_exception(ex)
|
||||
log.error_or_exception(ex)
|
||||
else:
|
||||
# Initialize the saved creds
|
||||
gauth.Authorize()
|
||||
|
||||
Reference in New Issue
Block a user