firefox-devtools / firefox-devtools/profiler-server
Better handle and test errors returned from the 3rd party service
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 15
- Avg merge
- 9h 23m
- Merged PRs (30d)
- 8
Description
We should better assert errors returned by 3rd party services like GCS (google cloud storage).
Currently we'll just get a 500 status and the returned error in the logs, but maybe we should return a better message to the caller.
┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-995)
Contributor guide
No contributing guide indexed for this repository
Research direction
No file, test, or entry point is named; start by tracing how the server handles errors from GCS and how those errors become HTTP 500 responses. Review existing error-handling tests, then define the caller-facing error behavior and add coverage showing that third-party failures return the intended message rather than only appearing in logs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- google-cloud, typescript
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100