Skip to content

Commit

Permalink
print exception stack trace
Browse files Browse the repository at this point in the history
  • Loading branch information
siftal committed Aug 12, 2022
1 parent d43f14e commit ebdded4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions consensus/receiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import hashlib
import shutil
import requests
import traceback
from arango import ArangoClient, errno
from web3 import Web3
from web3.middleware import geth_poa_middleware
Expand Down Expand Up @@ -180,4 +181,5 @@ def wait():
main()
except Exception as e:
print(f'Error: {e}')
print(f'Traceback: {traceback.format_exc()}')
time.sleep(10)

0 comments on commit ebdded4

Please sign in to comment.