Skip to content

Commit

Permalink
Disable "note" alert types as previously done in fedex_ws
Browse files Browse the repository at this point in the history
We have previously chosen to disregard "note" alerts from fedex in fedex_ws due to their extensive number. As such, they will be ignored for the time being.
  • Loading branch information
jacobshilitz committed Aug 7, 2024
1 parent 627be3d commit 4d2a07b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/connectors/fedex/karrio/providers/fedex/error.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def parse_error_response(
[{"message": result["output"]["message"]}]
if "message" in result.get("output", {})
and isinstance(result["output"]["message"], str)
and not result["output"]["alertType"] != "NOTE"
else []
),
*(
Expand Down

0 comments on commit 4d2a07b

Please sign in to comment.