Fastify instrumentation may not report errors?
Closed this issue · 4 comments
unflxw commented
We saw an issue during a call where a customer (Intercom link) did not see errors reported from their Fastify application's error handlers automatically. (This customer was affected by #974, but the issue persisted after the workaround was applied)
Another workaround was used, in which a custom Fastify error handler was used to manually forward errors to AppSignal.
To do
- Attempt to reproduce in our test setup?
- If reproduced:
- Document custom error handler
- Report to upstream OpenTelemetry instrumentation
backlog-helper commented
✔️ All good!
brogeby commented
Would you be able to provide the solution for the custom fastify error handler? I'm experience the same issue and would like to try the given solution.
backlog-helper commented
- This issue has not had any activity in 14 days. Please provide a status update if it is still relevant. Closed it if it is no longer relevant. Or move it to another column if it's blocked or requires another look at it. - (More info)
This is a message from the daily scheduled checks.
luismiramirez commented
This is fixed in newer versions of @appsignal/nodejs (^3.4.8).