mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Merge pull request #44315 from madmiraal/fix-handles-baseexception
Don't handle BaseException in build scripts
This commit is contained in:
commit
2760f5d0b4
7 changed files with 8 additions and 10 deletions
|
|
@ -50,9 +50,7 @@ def get_flags():
|
|||
|
||||
|
||||
def configure(env):
|
||||
try:
|
||||
env["initial_memory"] = int(env["initial_memory"])
|
||||
except:
|
||||
if not isinstance(env["initial_memory"], int):
|
||||
print("Initial memory must be a valid integer")
|
||||
sys.exit(255)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue