diff --git a/geoengine_swisstopo/geo_view/geo_raster_layer.py b/geoengine_swisstopo/geo_view/geo_raster_layer.py index 12dc67c9a2..e6a7ba00d5 100644 --- a/geoengine_swisstopo/geo_view/geo_raster_layer.py +++ b/geoengine_swisstopo/geo_view/geo_raster_layer.py @@ -54,7 +54,8 @@ def _get_capabilities(self): record.capabilities = response.text else: _LOGGER.error( - "Swisstopo WMTS Capabilities request (%s)\nfailed with status code %s:\n%s", + "Swisstopo WMTS Capabilities request (%s)\n" + "failed with status code %s:\n%s", url, response.status_code, response.text,