Skip to content

Commit

Permalink
Merge pull request #2621 from camptocamp/test-generated-legend-images
Browse files Browse the repository at this point in the history
Add one more message redirected to the admin web page
  • Loading branch information
sbrunner authored Nov 30, 2024
2 parents 205696f + b16765e commit 14af109
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tilecloud_chain/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ def __call__(self, tile: Tile | None) -> Tile | None:
):
assert isinstance(tile.error, str)
tile.error = f"WMS server error: {self._re_rm_xml_tag.sub('', tile.error)}"
print(f"Error with tile {tile.tilecoord} {tile.formated_metadata}:\n{tile.error}")
_LOGGER.warning(
"Error with tile %s %s:\n%s", tile.tilecoord, tile.formated_metadata, tile.error
)
Expand Down

0 comments on commit 14af109

Please sign in to comment.