mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 07:32:50 +00:00
[minor] replace 'raise e' with 'raise' for correct tracebacks
This commit is contained in:
@@ -37,7 +37,7 @@ def execute():
|
||||
except Exception, e:
|
||||
# if duplicate entry, then dont update
|
||||
if e[0]!=1062:
|
||||
raise e
|
||||
raise
|
||||
|
||||
|
||||
changed_keys = change_map.keys()
|
||||
@@ -62,5 +62,5 @@ def execute():
|
||||
|
||||
except Exception, e:
|
||||
if e[0]!=1146:
|
||||
raise e
|
||||
raise
|
||||
|
||||
Reference in New Issue
Block a user