fix: Remove explicit exception
Co-authored-by: gavin <gavin18d@gmail.com>
diff --git a/erpnext/setup/install.py b/erpnext/setup/install.py
index d470d75..aa9fbc0 100644
--- a/erpnext/setup/install.py
+++ b/erpnext/setup/install.py
@@ -32,7 +32,7 @@
if frappe.db.get_default('desktop:home_page') != 'setup-wizard':
message = """ERPNext can only be installed on a fresh site where the setup wizard is not completed.
You can reinstall this site (after saving your data) using: bench --site [sitename] reinstall"""
- frappe.throw(message, exc=frappe.IncompatibleApp)
+ frappe.throw(message)
def set_single_defaults():