Skip to content

Commit

Permalink
Added: Fix for tslog error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
rodobre committed Aug 29, 2023
1 parent e3522d6 commit 859c3cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/blitz-rpc/src/index-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ export function rpcHandler(config: RpcConfig) {

config.onError?.(error)

log.error(error)
log.error(new Error(error))
newLine()

if (!error.statusCode) {
Expand Down

0 comments on commit 859c3cf

Please sign in to comment.