Skip to content
Myr

Log a more detailed error stack. (#719)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Ren Hiyama · committed by GitHub · parent 52ef583 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/hono.ts+1 added-1 removed
107 unmodified lines
108 return c.text('404 Not Found', 404)109 }110111 private errorHandler: ErrorHandler<E> = (err: Error, c: Context<string, E>) => {112 console.trace(err.message)112 console.trace(err)113 const message = 'Internal Server Error'114 return c.text(message, 500)115 }116
153 unmodified lines