From 6d739ec9d904fbf52e4c7666c42287b0fa0b259e Mon Sep 17 00:00:00 2001 From: Stefaan Lippens Date: Thu, 26 Sep 2024 18:18:14 +0200 Subject: [PATCH] minor PartitionedJobFailure message improvement --- src/openeo_aggregator/partitionedjobs/tracking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openeo_aggregator/partitionedjobs/tracking.py b/src/openeo_aggregator/partitionedjobs/tracking.py index 26ce77a..c0bebbb 100644 --- a/src/openeo_aggregator/partitionedjobs/tracking.py +++ b/src/openeo_aggregator/partitionedjobs/tracking.py @@ -113,7 +113,7 @@ def get_replacement(node_id: str, node: dict, subgraph_id: SubGraphId) -> dict: canonical_links = [link for link in result_metadata.get("links", {}) if link.get("rel") == "canonical"] stac_url = canonical_links[0]["href"] except Exception as e: - msg = f"Failed to obtain partial canonical batch job result URL for {subgraph_id=}: {e}" + msg = f"Failed to obtain partial canonical batch job result URL for {subgraph_id=}: {e!r}" _log.exception(msg) raise PartitionedJobFailure(msg) from e return {