()
| 14 | * Collecting sub-app references early ensures nothing is missed if sub-apps are mounted synchronously before the `sentry()` middleware is registered. |
| 15 | */ |
| 16 | export function earlyPatchHono(): void { |
| 17 | _routeHook ??= installRouteHookOnPrototype(); |
| 18 | } |
| 19 | |
| 20 | /** |
| 21 | * Instruments a Hono app instance for Sentry tracing in middleware and route handlers. |
no test coverage detected