[FEATURE REQUEST] Correct stack trace of a guard error in request errored pino-http's log
See original GitHub issueThe problem I am facing is similar to those described in this feature request. Despite after using LoggerErrorInterceptor
I am getting the correct stack trace of errors thrown from controllers or services when an error is thrown from a guard, it behaves like LoggerErrorInterceptor
was not used.
Describe the solution you’d like I am not sure if it is a bug or if additional functionality to be added. Probably this problem is caused by Interceptor not being called at all when application flow is broken on a guard level.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:9 (3 by maintainers)
Top Results From Across the Web
[FEATURE REQUEST] Correct stack trace in `request errored ...
By following #416 we now log the exception message. But it would be super helpful to log the actual stack trace there as...
Read more >Java Stack Trace: How to Read and Understand to Debug Code
A stack trace shows the call stack (sets of active stack frames) and provides information on the methods that your code called.
Read more >Making stack traces more useful with symbolication - Bugsnag
When debugging errors, symbolicated stack traces are essential because they provide visibility into where the errors originated in the code.
Read more >Stack trace - Wikipedia
In computing, a stack trace is a report of the active stack frames at a certain point in time during the execution of...
Read more >Error Handling - http4s
ParsingFailure : indicative of a malformed HTTP message in the request line ... syntax errors or missing fields, including a full stack trace,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@iamolegga I apologize for the delay. Here is this problem reproduced: https://github.com/artursudnik/nestjs-pino-issue.
agree, we need to change this class to a filter and add tests to verify that it correctly catches and logs errors from different layers