Skip to content

Commit 93824fe

Browse files
committed
fix: lint
Signed-off-by: Umberto Sgueglia <usgueglia@contractor.linuxfoundation.org>
1 parent 2e5a4f4 commit 93824fe

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

backend/src/api/public/middlewares/errorHandler.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,13 @@ export const errorHandler: ErrorRequestHandler = (
3535
}
3636

3737
req.log.error(
38-
{ error: { name: error?.name, message: error?.message, stack: error?.stack }, url: req.url, method: req.method, query: req.query, body: req.body },
38+
{
39+
error: { name: error?.name, message: error?.message, stack: error?.stack },
40+
url: req.url,
41+
method: req.method,
42+
query: req.query,
43+
body: req.body,
44+
},
3945
'Unhandled error in public API',
4046
)
4147

0 commit comments

Comments
 (0)