Skip to content

Commit

Permalink
Increase resilience in error mapping
Browse files Browse the repository at this point in the history
Co-authored-by: Matti Schneider <[email protected]>
  • Loading branch information
Ndpnt and MattiSG authored May 8, 2024
1 parent d86d737 commit 661ca2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reporter/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ const ERROR_MESSAGE_TO_ISSUE_LABEL_MAP = {
'unable to verify the first certificate': 'first certificate',
'certificate has expired': 'certificate expired',
'maximum redirect reached': 'redirects',
'is not a valid selector': 'invalid selector',
'an empty content': 'empty content',
'not a valid selector': 'invalid selector',
'empty content': 'empty content',
};

function getLabelNameFromError(error) {
Expand Down

0 comments on commit 661ca2d

Please sign in to comment.