Skip to content

Commit 972b6bb

Browse files
🈵
1 parent 561e1d4 commit 972b6bb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/fts-http/src/handler.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,9 @@ function sendError(context: HttpContext, error: Error, statusCode?: number) {
330330
if (statusCode || error['statusCode'] === undefined) {
331331
error['statusCode'] = statusCode || 500
332332
}
333+
334+
console.error(error)
335+
333336
/* tslint:enable no-string-literal */
334337
micro.sendError(context.req, context.res, error)
335338
}

0 commit comments

Comments
 (0)