Domain for errors

This commit is contained in:
Enrico Ros
2025-07-29 16:09:46 -07:00
parent 7e95dcc1cb
commit e983f9d8a9
4 changed files with 5 additions and 3 deletions
+1
View File
@@ -17,6 +17,7 @@ const handlerNodeRoutes = (req: Request) => fetchRequestHandler({
// -> Capture node errors
await posthogCaptureServerException(error, {
domain: 'trpc-onerror',
runtime: 'nodejs',
endpoint: path ?? 'unknown',
method: req.method,