Skip to content

Commit

Permalink
fix: ignore any possible exception from old deleted doctype
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed Jan 29, 2023
1 parent d203345 commit 32a62fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ecommerce_integrations/shopify/utils.py
Expand Up @@ -37,7 +37,8 @@ def migrate_from_old_connector(payload=None, request_id=None):
def ensure_old_connector_is_disabled():
try:
old_setting = frappe.get_doc(OLD_SETTINGS_DOCTYPE)
except ImportError:
except Exception:
frappe.clear_last_message()
return

if old_setting.enable_shopify:
Expand Down

0 comments on commit 32a62fc

Please sign in to comment.