Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: throw custom errors in tag processing #126

Merged

Conversation

alixlahuec
Copy link
Owner

Description

A few users have reported failed requests for tags, and the error seems to come from the processing step rather than the request itself (network calls are successful, tags data is logged). This PR adds error throwing to the different functions involved in processing tags, to narrow down the origin of the problem.

Validation

✅ Unit testing with Jest
❌ No dev build / manual testing, since the cause of the problem is unclear

@linear
Copy link

linear bot commented Dec 5, 2022

RM-66 Throw custom errors for tag processing

The bug (reported 2x) seems to be happening at the processing step of tags data, but hard to debug remotely without doing some backend work.

Work

Add custom error throwing in all the processing steps for tags, so the problem can bubble up

@codecov-commenter
Copy link

Codecov Report

Merging #126 (d845c7d) into beta (367d268) will increase coverage by 0.06%.
The diff coverage is 94.12%.

Impacted file tree graph

@@            Coverage Diff             @@
##             beta     #126      +/-   ##
==========================================
+ Coverage   86.76%   86.82%   +0.06%     
==========================================
  Files         122      122              
  Lines        4048     4064      +16     
  Branches     1159     1163       +4     
==========================================
+ Hits         3512     3528      +16     
- Misses        521      522       +1     
+ Partials       15       14       -1     
Impacted Files Coverage Δ
src/api/utils.js 93.04% <93.03%> (+0.43%) ⬆️
src/utils.js 95.52% <100.00%> (+0.02%) ⬆️

@alixlahuec alixlahuec merged commit 57cdd75 into beta Dec 5, 2022
@alixlahuec alixlahuec deleted the feature/rm-66-throw-custom-errors-for-tag-processing branch December 5, 2022 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants