Skip to content

Commit

Permalink
Merge branch 'main' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Oct 16, 2024
2 parents 3bda1c5 + b277411 commit 5f6d2a4
Show file tree
Hide file tree
Showing 5 changed files with 244 additions and 503 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ function getTransformStream(options = {}) {
}

Sentry.withScope(function (scope) {
const sentryLevelName =
data.level === 50 ? Sentry.Severity.Error : Sentry.Severity.Fatal;
const sentryLevelName = data.level === 50 ? "error" : "fatal";
scope.setLevel(sentryLevelName);

for (const extra of ["event", "headers", "request", "status"]) {
Expand Down
Loading

0 comments on commit 5f6d2a4

Please sign in to comment.