Skip to content

Commit 88025d3

Browse files
feat(api): downgrade metadata parse warnings to debug
I set these to warn during testing and neglected to undo the change.
1 parent af64764 commit 88025d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

invokeai/app/api/routers/images.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,23 +69,23 @@ async def upload_image(
6969
if isinstance(metadata_raw, str):
7070
_metadata = metadata_raw
7171
else:
72-
ApiDependencies.invoker.services.logger.warn("Failed to parse metadata for uploaded image")
72+
ApiDependencies.invoker.services.logger.debug("Failed to parse metadata for uploaded image")
7373
pass
7474

7575
# attempt to parse workflow from image
7676
workflow_raw = pil_image.info.get("invokeai_workflow", None)
7777
if isinstance(workflow_raw, str):
7878
_workflow = workflow_raw
7979
else:
80-
ApiDependencies.invoker.services.logger.warn("Failed to parse workflow for uploaded image")
80+
ApiDependencies.invoker.services.logger.debug("Failed to parse workflow for uploaded image")
8181
pass
8282

8383
# attempt to extract graph from image
8484
graph_raw = pil_image.info.get("invokeai_graph", None)
8585
if isinstance(graph_raw, str):
8686
_graph = graph_raw
8787
else:
88-
ApiDependencies.invoker.services.logger.warn("Failed to parse graph for uploaded image")
88+
ApiDependencies.invoker.services.logger.debug("Failed to parse graph for uploaded image")
8989
pass
9090

9191
try:

0 commit comments

Comments
 (0)