mirror of https://github.com/VLSIDA/OpenRAM.git
Specify ImportError to see other errors
This commit is contained in:
parent
01f4ad7a11
commit
d018963866
|
|
@ -329,7 +329,7 @@ def read_config(config_file, is_unit_test=True):
|
|||
debug.info(1, "Configuration file is " + config_file + ".py")
|
||||
try:
|
||||
config = importlib.import_module(module_name)
|
||||
except:
|
||||
except ImportError:
|
||||
debug.error("Unable to read configuration file: {0}".format(config_file), 2)
|
||||
|
||||
OPTS.overridden = {}
|
||||
|
|
|
|||
Loading…
Reference in New Issue