Skip to content

Commit

Permalink
💩 ⚗️ try to debug QueuePool Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin Burg committed Oct 24, 2023
1 parent 1c4e47f commit 639eb90
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,9 @@ async def post_operation(
try:
# Simulate the operation alone without sending it
op.autofill()
tezos_manager.queue_operation(call_data.sender, op)
return {
"result": "ok"
}
db.close()
result = await tezos_manager.queue_operation(call_data.sender, op)
return result
except MichelsonError as e:
print("Received failing operation, discarding")
print(e)
Expand Down

0 comments on commit 639eb90

Please sign in to comment.