mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 07:32:50 +00:00
fix: remove bare excepts
This commit is contained in:
@@ -648,7 +648,7 @@ def get_default_contact(doctype, name):
|
||||
if out:
|
||||
try:
|
||||
return out[0][0]
|
||||
except:
|
||||
except Exception:
|
||||
return None
|
||||
else:
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user