Skip to content

Commit

Permalink
fix: print traceback for failed patches (#25215)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed Mar 4, 2024
1 parent 8289e83 commit 43338f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frappe/modules/patch_handler.py
Expand Up @@ -41,6 +41,7 @@ def run_patch(patch):
raise
else:
log("Failed to execute patch")
print(frappe.get_traceback())

for patch in get_all_patches():
if patch and (patch not in executed):
Expand Down

0 comments on commit 43338f3

Please sign in to comment.