Skip to content

Commit

Permalink
Save state on ConfirmationTimedOut
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama committed Jan 18, 2025
1 parent 59a0c37 commit 981d76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tradeexecutor/cli/commands/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ def start(
# for automated execution due to unstability of the blockchains.
# eth_defi.confirmation.ConfirmationTimedOut
if isinstance(e, (ExecutionHaltableIssue, ConfirmationTimedOut)):
logger.error("Saving state with aborted execution")
logger.error("Saving state with aborted execution: %s", e)
store.sync(state)

# Debug exceptions in production
Expand Down

0 comments on commit 981d76b

Please sign in to comment.