fix: print more information in error

This commit is contained in:
sokumon 2025-12-08 00:43:03 +05:30
parent 7b32b96cfc
commit ea6a9cd76e

View file

@ -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