mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-03 08:32:24 +00:00
fix(minor): update frappe.error_log to new API (#30864)
* fix(minor): update frappe.error_log to new API * refactor: changes for updated log_error api Co-authored-by: Ankush Menat <ankush@frappe.io>
This commit is contained in:
@@ -528,7 +528,7 @@ def install_country_fixtures(company, country):
|
||||
except ImportError:
|
||||
pass
|
||||
except Exception:
|
||||
frappe.log_error()
|
||||
frappe.log_error("Unable to set country fixtures")
|
||||
frappe.throw(
|
||||
_("Failed to setup defaults for country {0}. Please contact support.").format(
|
||||
frappe.bold(country)
|
||||
|
||||
Reference in New Issue
Block a user