Commit af9b4bb
ref(fastify): Set hook op via
The shared fastify hook wrapper set its op through the `op:` shorthand;
it now sets `sentry.op` in attributes instead, matching koa/hono/
tanstackstart. The op is only added when defined so route-hooks (which
carry no op) stay unchanged; instance hooks keep `middleware` and the
handler hook keeps `request_handler.fastify`.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>sentry.op attribute only1 parent efd5e6e commit af9b4bb
1 file changed
Lines changed: 8 additions & 2 deletions
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
| |||
345 | 351 | | |
346 | 352 | | |
347 | 353 | | |
348 | | - | |
349 | 354 | | |
350 | 355 | | |
| 356 | + | |
351 | 357 | | |
352 | 358 | | |
353 | 359 | | |
| |||
0 commit comments