Skip to content

Commit

Permalink
minor PartitionedJobFailure message improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Sep 26, 2024
1 parent 119b1d8 commit 6d739ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openeo_aggregator/partitionedjobs/tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6d739ec

Please sign in to comment.