From 4616d843bacb2d51939eddf56c3d88c8c469ecb8 Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Thu, 28 Jan 2021 19:43:08 +0000 Subject: [PATCH] Don't handle BaseException in JavaScript build script --- platform/javascript/detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py index 247b22165d4..149033d4375 100644 --- a/platform/javascript/detect.py +++ b/platform/javascript/detect.py @@ -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)