Merge pull request #10662 from scmmishra/fix-get-config
fix: catch all exception in get_config
This commit is contained in:
commit
02e2a3abc3
1 changed files with 3 additions and 1 deletions
|
|
@ -116,5 +116,7 @@ def get_config(app, module):
|
|||
if hasattr(module_dashboards, 'get_data'):
|
||||
return frappe._dict(module_dashboards.get_data())
|
||||
return None
|
||||
except ImportError:
|
||||
except Exception as e:
|
||||
print(_("Failed to import dashboard fixtures for module {module}").format(module=module))
|
||||
frappe.log_error(e, _("Dashboard Fixture Import Error"))
|
||||
return None
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue