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

[backend] Update errors that are not retryable #6366

Merged
merged 1 commit into from
Mar 20, 2024
Merged

Conversation

Kedae
Copy link
Member

@Kedae Kedae commented Mar 15, 2024

We need the actual error to be logged and not bypassed because they are not retryable

@Kedae Kedae added the filigran team use to identify PR from the Filigran team label Mar 15, 2024
Copy link

codecov bot commented Mar 15, 2024

Codecov Report

Attention: Patch coverage is 25.00000% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 66.75%. Comparing base (932c5d0) to head (ed573ff).

Files Patch % Lines
...atform/opencti-graphql/src/graphql/loggerPlugin.js 0.00% 6 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6366   +/-   ##
=======================================
  Coverage   66.74%   66.75%           
=======================================
  Files         541      541           
  Lines       64553    64551    -2     
  Branches     5306     5306           
=======================================
  Hits        43088    43088           
+ Misses      21465    21463    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

const isRetryableCall = isNotEmptyField(origin?.call_retry_number) && ![
UNSUPPORTED_ERROR,
ALREADY_DELETED_ERROR,
TYPE_DUPLICATE_ENTRY,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DuplicateEntryError seems never used

@Kedae Kedae merged commit 380ba56 into master Mar 20, 2024
8 checks passed
@Kedae Kedae deleted the oob/fix_error_handling branch March 20, 2024 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filigran team use to identify PR from the Filigran team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants