mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SERVER-43471 scons.py should not swallow ImportError
This commit is contained in:
parent
0cee67ce69
commit
0a51d827a9
@ -18,8 +18,9 @@ sys.path = [SCONS_DIR] + sys.path
|
||||
|
||||
try:
|
||||
import SCons.Script
|
||||
except ImportError:
|
||||
except ImportError as import_err:
|
||||
print("Could not import SCons from '%s'" % (SCONS_DIR))
|
||||
print("ImportError:", import_err)
|
||||
sys.exit(1)
|
||||
|
||||
SCons.Script.main()
|
||||
|
Loading…
Reference in New Issue
Block a user