Merge pull request #45540 from madmiraal/fix-handling-baseexception-3.2

[3.2] Don't handle BaseException in JavaScript build script
This commit is contained in:
Fabio Alessandrelli 2021-01-31 13:40:06 +01:00 committed by GitHub
commit a6afd70418
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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