Skip to content

Commit

Permalink
Merge pull request #2622 from camptocamp/backport/2621-to-master
Browse files Browse the repository at this point in the history
[Backport master] Add one more message redirected to the admin web page
  • Loading branch information
sbrunner authored Nov 30, 2024
2 parents 8181eb8 + a20d802 commit 60f91f7
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 60f91f7

Please sign in to comment.