mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 05:09:11 +00:00
[minor] replace 'raise e' with 'raise' for correct tracebacks
This commit is contained in:
@@ -168,7 +168,7 @@ def _make_customer(source_name, ignore_permissions=False):
|
||||
customer.insert()
|
||||
return customer
|
||||
else:
|
||||
raise e
|
||||
raise
|
||||
except webnotes.MandatoryError:
|
||||
from webnotes.utils import get_url_to_form
|
||||
webnotes.throw(_("Before proceeding, please create Customer from Lead") + \
|
||||
|
||||
Reference in New Issue
Block a user