From a373446af6112b2321e8e69a307867b69dda9b1f Mon Sep 17 00:00:00 2001 From: Marc-Olivier Arsenault Date: Fri, 13 Sep 2024 22:11:09 +0000 Subject: [PATCH] change log to warning, as it is ok to have no thumbnail --- custom_components/moonraker/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_components/moonraker/__init__.py b/custom_components/moonraker/__init__.py index b58118e..0c1d597 100755 --- a/custom_components/moonraker/__init__.py +++ b/custom_components/moonraker/__init__.py @@ -217,9 +217,9 @@ async def _async_get_gcode_file_detail(self, gcode_filename): return_gcode["thumbnails_path"] = os.path.join(dirname, path) return return_gcode except Exception as ex: - _LOGGER.error("failed to get thumbnails {%s}", ex) - _LOGGER.error("Query Object {%s}", query_object) - _LOGGER.error("gcode {%s}", gcode) + _LOGGER.warning("failed to get thumbnails {%s}", ex) + _LOGGER.warning("Query Object {%s}", query_object) + _LOGGER.warning("gcode {%s}", gcode) return return_gcode async def _async_fetch_data(