-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SDPA-3184] Setup timeout for Tide request (#545)
[SDPA-3184] Setup timeout for Tide request, with improvement of error handling * Set axios GET timeout of Tide API request to 4s, axios POST timeout to 9s, Nuxt proxy timeout to 9s. * Moved axios logic from default plugin into a separated file for better structure. * Moved Tide API response error handling to each request instead of handled globally. To make it more flexible, now each function use Tide Get request can do different treatment on error based on their own requirement. * Improved error logging and handling so site fail will provide better informations for debugging.
- Loading branch information
Showing
10 changed files
with
224 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.