What is the idiomatic python way to hide traceback errors unless a verbose or debug flag is set?
Example code:
their_md5 = \'c38f03d2b7160f891fc36ec
try: pass # Your code here except Exception as e: if debug: raise # re-raise the exception # traceback gets printed else: print("{}: {}".format(type(e).__name__, e))