[backup manager] [error handling] on error, send complete traceback as email
diff --git a/setup/doctype/backup_manager/backup_manager.py b/setup/doctype/backup_manager/backup_manager.py
index 4fb6ab3..ce0f1e1 100644
--- a/setup/doctype/backup_manager/backup_manager.py
+++ b/setup/doctype/backup_manager/backup_manager.py
@@ -27,8 +27,8 @@
 		from setup.doctype.backup_manager.backup_dropbox import backup_to_dropbox
 		backup_to_dropbox()
 		send_email(True, "Dropbox")
-	except Exception, e:
-		send_email(False, "Dropbox", e)
+	except Exception:
+		send_email(False, "Dropbox", webnotes.getTraceback())
 
 #backup to gdrive 
 @webnotes.whitelist()
@@ -37,8 +37,8 @@
 		from setup.doctype.backup_manager.backup_googledrive import backup_to_gdrive
 		backup_to_gdrive()
 		send_email(True, "Google Drive")
-	except Exception, e:
-		send_email(False, "Google Drive", e)
+	except Exception:
+		send_email(False, "Google Drive", webnotes.getTraceback())
 
 def send_email(success, service_name, error_status=None):
 	if success: