From 2aec5b44d24f2c9b01ab2d4e51f25dcdd37acefc Mon Sep 17 00:00:00 2001 From: Mirco Date: Fri, 22 Dec 2023 15:46:11 +0100 Subject: [PATCH] fix:: ignore missing image/test folder --- .../python/ddadevops/application/image_build_service.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/python/ddadevops/application/image_build_service.py b/src/main/python/ddadevops/application/image_build_service.py index c026b4b..ba2e3e8 100644 --- a/src/main/python/ddadevops/application/image_build_service.py +++ b/src/main/python/ddadevops/application/image_build_service.py @@ -52,9 +52,9 @@ class ImageBuildService: self.__copy_build_resources_from_dir__(devops) self.file_api.cp_recursive("image", build_path) try: - self.file_api.cp_recursive("test", build_path) - except FileNotFoundError as err: - print("File not found", err) + self.file_api.cp_recursive("test", build_path) + except: + print("Folder 'test' not found") def image(self, devops: Devops): image = devops.specialized_builds[BuildType.IMAGE]