Improve exception handling

pull/2/head
Bernhard Mueller 7 years ago
parent 4e1ee61ae0
commit f4ec7ef0a5
  1. 1
      lol
  2. 4
      mythril

1
lol

@ -1 +0,0 @@
awwawwawwawwawwaww

@ -89,8 +89,8 @@ elif (args.trace):
bytecode = util.file_to_raw_bytes(args.infile)
except Exception as e:
exitWithError("Exception loading bytecode from file" + str(e.message))
except FileNotFoundError:
exitWithError("Error loading bytecode: Input file not found")
else:
exitWithError("Trace: Provide the input bytecode using -c BYTECODE or -f INPUT_FILE")

Loading…
Cancel
Save