Commit 46aa27bd authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Don't crash when requesting a non-existing setting

Show an error in stderr and return. Scripts will be using the lack of
setting as it being empty anyway.
parent 23f720a5
......@@ -16,4 +16,8 @@ arguments = parser.parse_args()
# Load our build specification, which governs how we handle this build
buildSpecification = BuildSpecs.Loader( product=arguments.product, project=arguments.project, branchGroup=arguments.branchGroup, platform=arguments.platform )
except Exception as e:
print("failed:", e, file=sys.stderr)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment