Skip to content

Commit

Permalink
Remove too broad exception handler in clw, fix issue #423
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryp Toon committed Dec 9, 2024
1 parent 7b30bbd commit c16b555
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bitcoinlib/tools/clw.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ def exception_handler(exception_type, exception, traceback):
print("%s: %s" % (exception_type.__name__, exception))


sys.excepthook = exception_handler


def parse_args():
parser = argparse.ArgumentParser(description='BitcoinLib command line wallet')
parser.add_argument('--list-wallets', '-l', action='store_true',
Expand Down Expand Up @@ -425,4 +422,5 @@ def main():


if __name__ == '__main__':
sys.excepthook = exception_handler
main()

0 comments on commit c16b555

Please sign in to comment.