mirror of
https://github.com/standardnotes/server
synced 2026-10-16 18:13:09 -04:00
fix: add debug logs for invalid-auth responses
This commit is contained in:
@@ -42,6 +42,8 @@ export class RequiredCrossServiceTokenMiddleware extends AuthMiddleware {
|
||||
_next: NextFunction,
|
||||
): boolean {
|
||||
if (!authHeaderValue) {
|
||||
this.logger.debug('Missing auth header')
|
||||
|
||||
response.status(401).send({
|
||||
error: {
|
||||
tag: 'invalid-auth',
|
||||
|
||||
Reference in New Issue
Block a user