Fix CI: Move ValueError to new line

merge-requests/6/merge
erik 1 year ago
parent 24fc95ff8a
commit 44d1708448

@ -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"],

Loading…
Cancel
Save