Skip to content

Commit 556fa40

Browse files
committed
Fix warning message built using undeclared variable
1 parent 1f2d4c3 commit 556fa40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config_generator/external_layer_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def get_external_wmts_layer(resource, capabilitiesUrl, layerName, crs, logger, t
247247
break
248248

249249
if not targetLayer:
250-
logger.warn("Could not find external layer %s in capabilities" % entry)
250+
logger.warn("Could not find external layer %s in capabilities %s" % (layerName, capabilitiesUrl))
251251
return None
252252

253253
# Get supported tile matrix

0 commit comments

Comments
 (0)