adeg
adeg
CDCloudflare Developers
Created by adeg on 9/26/2024 in #workers-help
Source map in worker does’t work
5 replies
CDCloudflare Developers
Created by adeg on 9/26/2024 in #workers-help
Source map in worker does’t work
{ "message": [ "{"time":"2024-09-26T10:36:41.684Z","level":"ERROR","type":"Error","msg":"TEST ERROR","stack":"Error: test error\n at getUsers2 (index.js:39683:19)\n at async dispatch (index.js:11165:17)\n at async cors2 (index.js:12082:5)\n at async dispatch (index.js:11165:17)\n at async index.js:10475:5\n at async dispatch (index.js:11165:17)\n at async dispatch (index.js:11165:17)\n at async index.js:11389:25"}" ], "level": "log", "timestamp": 1727347001684 } This is the log message worker emitted. but expected to see something like
"stack": "Error: test error
at getUsers2 (file:///Users/alanwang/git/cloudflare-planetscale-hono-boilerplate/src/controllers/user.controller.ts:29:18)
at async dispatch (file:///Users/alanwang/git/cloudflare-planetscale-hono-boilerplate/node_modules/hono/dist/compose.js:29:17)
"stack": "Error: test error
at getUsers2 (file:///Users/alanwang/git/cloudflare-planetscale-hono-boilerplate/src/controllers/user.controller.ts:29:18)
at async dispatch (file:///Users/alanwang/git/cloudflare-planetscale-hono-boilerplate/node_modules/hono/dist/compose.js:29:17)
which is what I got locally with wrangler dev run npx wrangler deploy --dry-run --outdir dist I can get the index.js and index.js.map file.
5 replies
CDCloudflare Developers
Created by adeg on 3/14/2023 in #workers-help
CF workers mtls fetch doesn’t work
any plan adding support to CF workers in the future?
4 replies