Skip to content

Commit

Permalink
fix: reduce severity of api token middleware errors (#4216)
Browse files Browse the repository at this point in the history
This isn't something our on-calls can do something about when it fails,
so downgrading to WARN seems like the right level.
  • Loading branch information
Christopher Kolstad committed Jul 11, 2023
1 parent 96bc5cc commit 902cc2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/middleware/api-token-middleware.ts
Expand Up @@ -77,7 +77,7 @@ const apiAccessMiddleware = (
}
}
} catch (error) {
logger.error(error);
logger.warn(error);
}

next();
Expand Down

0 comments on commit 902cc2f

Please sign in to comment.