Skip to content

fix(wab): stop expected client errors from logging at ERROR level#379

Open
jameswillis99 wants to merge 1 commit into
masterfrom
fix/error-log-severity-misclassification
Open

fix(wab): stop expected client errors from logging at ERROR level#379
jameswillis99 wants to merge 1 commit into
masterfrom
fix/error-log-severity-misclassification

Conversation

@jameswillis99

Copy link
Copy Markdown
Collaborator

CSRF failures, expired sessions, and other routine client errors were paging PagerDuty because addEndErrorHandlers decided log severity before normalizing the error to its real status code, and several auth call sites logged expected client failures unconditionally at ERROR (including on successful OAuth callbacks). Reclassify these as warn/info and normalize before choosing severity so 4xx conditions no longer alert.

CSRF failures, expired sessions, and other routine client errors were
paging PagerDuty because addEndErrorHandlers decided log severity
before normalizing the error to its real status code, and several
auth call sites logged expected client failures unconditionally at
ERROR (including on successful OAuth callbacks). Reclassify these as
warn/info and normalize before choosing severity so 4xx conditions no
longer alert.
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.

2 participants