fix(api-gateway): add codetag metadata to error logs
This commit is contained in:
parent
cad28ebba5
commit
136cf252a1
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ void container.load().then((container) => {
|
||||||
const locals = response.locals as ResponseLocals
|
const locals = response.locals as ResponseLocals
|
||||||
|
|
||||||
logger.error(`${error.stack}`, {
|
logger.error(`${error.stack}`, {
|
||||||
|
codeTag: 'server.ts',
|
||||||
method: request.method,
|
method: request.method,
|
||||||
url: request.url,
|
url: request.url,
|
||||||
snjs: request.headers['x-snjs-version'],
|
snjs: request.headers['x-snjs-version'],
|
||||||
|
|
Loading…
Reference in a new issue