fix: error log while creating company
This commit is contained in:
parent
ce39323a0a
commit
22dc42efb9
@ -442,7 +442,7 @@ def install_country_fixtures(company):
|
||||
module_name = "erpnext.regional.{0}.setup.setup".format(frappe.scrub(company_doc.country))
|
||||
frappe.get_attr(module_name)(company_doc, False)
|
||||
except Exception as e:
|
||||
frappe.log_error(str(e), frappe.get_traceback())
|
||||
frappe.log_error()
|
||||
frappe.throw(_("Failed to setup defaults for country {0}. Please contact support@erpnext.com").format(frappe.bold(company_doc.country)))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user