From 88025d32c2dd9fadc20c36f4a0c7d18cffbb6aeb Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Thu, 23 May 2024 07:20:53 +1000 Subject: [PATCH] feat(api): downgrade metadata parse warnings to debug I set these to warn during testing and neglected to undo the change. --- invokeai/app/api/routers/images.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/invokeai/app/api/routers/images.py b/invokeai/app/api/routers/images.py index 84d4a5d27f..a947b83abe 100644 --- a/invokeai/app/api/routers/images.py +++ b/invokeai/app/api/routers/images.py @@ -69,7 +69,7 @@ async def upload_image( if isinstance(metadata_raw, str): _metadata = metadata_raw else: - ApiDependencies.invoker.services.logger.warn("Failed to parse metadata for uploaded image") + ApiDependencies.invoker.services.logger.debug("Failed to parse metadata for uploaded image") pass # attempt to parse workflow from image @@ -77,7 +77,7 @@ async def upload_image( if isinstance(workflow_raw, str): _workflow = workflow_raw else: - ApiDependencies.invoker.services.logger.warn("Failed to parse workflow for uploaded image") + ApiDependencies.invoker.services.logger.debug("Failed to parse workflow for uploaded image") pass # attempt to extract graph from image @@ -85,7 +85,7 @@ async def upload_image( if isinstance(graph_raw, str): _graph = graph_raw else: - ApiDependencies.invoker.services.logger.warn("Failed to parse graph for uploaded image") + ApiDependencies.invoker.services.logger.debug("Failed to parse graph for uploaded image") pass try: