Has anyone got Sentry logging (server + client) up and running with Next on Pages using the App rout
Has anyone got Sentry logging (server + client) up and running with Next on Pages using the App router?

next-on-pages basically makes that whole strategy mute and you get the exact same benefits as shown in that video without having to do anything nor even use hono directly in your Next.js appXXX ms in lab conditions even on cache hits (where in a plain worker we see XX ms_. Then we realized it wasn't KV but rather the first IO we had (and with the CF Workers security measures, we understand we could be measuring things before that I/O that just wait for the I/O to tick?)

Hacker News
•4/4/21, 3:47 PM

x-vercel-* or cf-* headers was triggering this. The headers were coming from next/headers and may have gotten mixed around by all the trpc context switching going on in the T3stack boilerplate. If anyone runs into this I just wrote code to strip any of those headers being sent on UI requestsnpm run dev (idk if npx wrangler dev is the right command, if so I'm running into a bunch of 500 errors that I really can't figure out)wrangler dev is the right command this is the error I'm getting:wrangler pages dev insteadnext-on-pagesconst t0 = Date.now();
const data = env.KV.get(key);
const t1 = Date.now();XXX msXX msx-vercel-*cf-*next/headers"exceptions": [
{
"name": "Error",
"message": "The script will never generate a response.",
"timestamp": 1711296914762
}
],npx wrangler dev[wrangler:inf] Ready on http://localhost:8787
[wrangler:err] TypeError: Cannot read properties of undefined (reading 'fetch')
at Object.fetch (file:///Volumes/[...]/.vercel/output/static/_worker.js/index.js:40:40336)node_modules/wrangler/wrangler-dist/cli.js:29573
throw a;
^
MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.