Skip to content

Commit

Permalink
HGI-6009: Add error def for 504 to retry
Browse files Browse the repository at this point in the history
  • Loading branch information
hsyyid committed Jun 6, 2024
1 parent 4c9c670 commit b18289b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tap_xero/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ class XeroNotAvailableError(XeroError):
503: {
"raise_exception": XeroNotAvailableError,
"message": "API service is currently unavailable."
},
504: {
"raise_exception": XeroInternalError,
"message": "An unhandled error with the Xero API. Contact the Xero API team if problems persist."
}
}

Expand Down

0 comments on commit b18289b

Please sign in to comment.