Skip to content

Commit

Permalink
Add additional error information
Browse files Browse the repository at this point in the history
  • Loading branch information
dougpenny committed Aug 14, 2024
1 parent 235a45f commit cb56e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transactions/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ def new_single_deposit(request):
return redirect("profile-detail", profile.id)
except Exception as e:
logger.error(
f"An exception occured when trying to create a deposit: {e}"
f"An exception occured when trying to create a deposit.\nTransaction: {new_deposit}\nException: {e}"
)
messages.error(
request, "An error occured creating the deposit, please try again."
Expand Down

0 comments on commit cb56e90

Please sign in to comment.