mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
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:
parent
d7f6af1f07
commit
fc278c5cb1
@ -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]:
|
||||||
|
Loading…
Reference in New Issue
Block a user