mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
log errors as error
This commit is contained in:
parent
8853e0d5f9
commit
28d876e71c
@ -41,7 +41,7 @@ ${mutation || query}variables: ${JSON.stringify(filterVariables(variables), null
|
||||
logger.info(`Response-Data:
|
||||
${JSON.stringify(requestContext.response.data, null, 2)}`)
|
||||
if (requestContext.response.errors)
|
||||
logger.info(`Response-Errors:
|
||||
logger.error(`Response-Errors:
|
||||
${JSON.stringify(requestContext.response.errors, null, 2)}`)
|
||||
return requestContext
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user