Skip to content

GQL-87: Bug: Surface cmr errors for user readability #565

GQL-87: Bug: Surface cmr errors for user readability

GQL-87: Bug: Surface cmr errors for user readability #565

Triggered via pull request October 28, 2024 17:07
@mandyparsonmandyparson
synchronize #139
GQL-87
Status Failure
Total duration 1m 58s
Artifacts

ci.yml

on: pull_request
Matrix: eslint
Matrix: python-test
Matrix: jest
Fit to window
Zoom out
Zoom in

Annotations

3 errors
src/permissions/__tests__/fallbackError.test.js > fallbackError > throws an error with the requestId present (cmr-error): src/permissions/__tests__/fallbackError.test.js#L71
AssertionError: expected 'Cannot destructure property \'code\' …' to deeply equal 'Cannot destructure property \'code\' …' - Expected + Received - Cannot destructure property 'code' of '((cov_1is6xnfz3i(...).s[4]++) , extensions)' as it is undefined. + Cannot destructure property 'code' of '((cov_1vlfoo4cq6(...).s[4]++) , extensions)' as it is undefined. ❯ src/permissions/__tests__/fallbackError.test.js:71:56
src/permissions/__tests__/fallbackError.test.js > fallbackError > throws a general error for non-cmr error: src/permissions/__tests__/fallbackError.test.js#L110
AssertionError: expected 'Cannot destructure property \'code\' …' to deeply equal 'An unknown error occurred. Please ref…' - Expected + Received - An unknown error occurred. Please refer to the ID mock-request-id when contacting Earthdata Operations (support@earthdata.nasa.gov). + Cannot destructure property 'code' of '((cov_1vlfoo4cq6(...).s[4]++) , extensions)' as it is undefined. ❯ src/permissions/__tests__/fallbackError.test.js:110:56
jest (lts/hydrogen)
Process completed with exit code 1.