fix: print more information in error
This commit is contained in:
parent
7b32b96cfc
commit
ea6a9cd76e
1 changed files with 1 additions and 0 deletions
|
|
@ -226,6 +226,7 @@ def remove_orphan_entities():
|
|||
print()
|
||||
|
||||
except Exception as e:
|
||||
print(f"Error occurred while deleting entity: {entity} {w.name}")
|
||||
print(e)
|
||||
# save the deleted icons
|
||||
frappe.db.commit() # nosemgrep
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue