Fix CI: Move ValueError to new line

This commit is contained in:
erik 2023-04-19 15:22:34 +02:00
parent 24fc95ff8a
commit 44d1708448

View file

@ -41,7 +41,8 @@ class DevopsBuild:
self.file_api = FileApi()
self.repo = ProjectRepository()
if not devops:
if not config: raise Exception("Build parameters could not be set!")
if not config:
raise ValueError("Build parameters could not be set!")
devops = Devops(
stage=config["stage"],
project_root_path=config["project_root_path"],