mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 05:39:12 +00:00
fix: remove bare excepts
This commit is contained in:
@@ -88,7 +88,7 @@ def simulate(domain='Manufacturing', days=100):
|
||||
elif domain=='Education':
|
||||
edu.work()
|
||||
|
||||
except:
|
||||
except Exception:
|
||||
frappe.db.set_global('demo_last_date', current_date)
|
||||
raise
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user