You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can lead to issues when the fetch times out and throws an error. We should fix this and also investigate which other errors can be thrown and handle those with retries (if it makes sense).
The text was updated successfully, but these errors were encountered:
ericallam
changed the title
Better handle fetch throwing errors in our ApiClient
[TRI-2048] Better handle fetch throwing errors in our ApiClient
Mar 9, 2024
As you can see in the code below, we aren't handling any thrown errors by fetch:
trigger.dev/packages/trigger-sdk/src/apiClient.ts
Line 888 in 5d78bba
This can lead to issues when the fetch times out and throws an error. We should fix this and also investigate which other errors can be thrown and handle those with retries (if it makes sense).
TRI-2048
The text was updated successfully, but these errors were encountered: