diff options
| author | Adam Soltys <[email protected]> | 2026-02-28 19:26:13 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-28 19:26:13 -0800 |
| commit | 205ffb7684f18256690f374ab78745ccfe5d850d (patch) | |
| tree | 2defac29b4579a3aa67ec536b6aef0d6452b91fe /lib | |
| parent | caf1f126d0569670712e26fa2f6ac3127605cd91 (diff) | |
| download | coinos-server-205ffb7684f18256690f374ab78745ccfe5d850d.tar.gz coinos-server-205ffb7684f18256690f374ab78745ccfe5d850d.zip | |
fix hono route order
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/app.ts | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -141,7 +141,8 @@ app.use("*", async (c, next) => { }); // Error handler -app.onError((_err, c) => { +app.onError((err, c) => { + console.error("unhandled error:", c.req.method, c.req.path, err?.message || err); return c.json({ ok: false }, 500); }); |
