diff --git a/frappe/utils/dashboard.py b/frappe/utils/dashboard.py index 6cfee6a08e..b7023427e2 100644 --- a/frappe/utils/dashboard.py +++ b/frappe/utils/dashboard.py @@ -116,6 +116,8 @@ def get_config(app, module): if hasattr(module_dashboards, 'get_data'): return frappe._dict(module_dashboards.get_data()) return None + except ImportError: + return None except Exception as e: print(_("Failed to import dashboard fixtures for module {module}").format(module=module)) frappe.log_error(e, _("Dashboard Fixture Import Error"))