diff --git a/src/main/python/ddadevops/devops_build.py b/src/main/python/ddadevops/devops_build.py index bb3a163..8485bc4 100644 --- a/src/main/python/ddadevops/devops_build.py +++ b/src/main/python/ddadevops/devops_build.py @@ -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"],