Don't handle BaseException in JavaScript build script

This commit is contained in:
Marcel Admiraal 2021-01-28 19:43:08 +00:00
parent fe4f3ff8bf
commit 4616d843ba

View file

@ -59,7 +59,7 @@ def get_flags():
def configure(env): def configure(env):
try: try:
env["initial_memory"] = int(env["initial_memory"]) env["initial_memory"] = int(env["initial_memory"])
except: except Exception:
print("Initial memory must be a valid integer") print("Initial memory must be a valid integer")
sys.exit(255) sys.exit(255)