1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00

fix: reduce severity of api token middleware errors (#4216)

This isn't something our on-calls can do something about when it fails,
so downgrading to WARN seems like the right level.
This commit is contained in:
Christopher Kolstad 2023-07-11 12:33:02 +02:00 committed by GitHub
parent 96bc5ccd94
commit 902cc2f2e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ const apiAccessMiddleware = (
}
}
} catch (error) {
logger.error(error);
logger.warn(error);
}
next();