validate: launcher: Print some ERROR log when inspecting scenario fails

This commit is contained in:
Thibault Saunier 2018-07-19 22:00:17 -04:00
parent 61a899acf2
commit 615a372274

View file

@ -1925,7 +1925,8 @@ class ScenarioManager(Loggable):
"--scenarios-defs-output-file", scenario_defs]
command.extend(scenario_paths)
subprocess.check_call(command, stdout=logs, stderr=logs)
except subprocess.CalledProcessError:
except subprocess.CalledProcessError as e:
self.error(e)
pass
config = configparser.RawConfigParser()