fix(images_default): correct get_metadata error message

The error was misleading, indicating an issue with getting the image DTO, when it was actually an issue with getting metadata.
This commit is contained in:
psychedelicious 2024-02-14 16:52:48 +11:00 committed by Kent Keirsey
parent d7f6af1f07
commit fc278c5cb1

View File

@ -154,7 +154,7 @@ class ImageService(ImageServiceABC):
self.__invoker.services.logger.error("Image record not found") self.__invoker.services.logger.error("Image record not found")
raise raise
except Exception as e: except Exception as e:
self.__invoker.services.logger.error("Problem getting image DTO") self.__invoker.services.logger.error("Problem getting image metadata")
raise e raise e
def get_workflow(self, image_name: str) -> Optional[WorkflowWithoutID]: def get_workflow(self, image_name: str) -> Optional[WorkflowWithoutID]: