Open AlessioGr opened 4 months ago
Please provide a minimal reproducible example. Doing so will help us diagnose your issue. It should be the bare minimum code needed to trigger the issue, and easily runnable without any changes or extra code.
You may use a GitHub repository to host the code if it is too much to fit in a code block (or two).
I am adding a cause to my error, but the error cause is not showing.
I did not find any pino-pretty option which allows me to customize it to include the error.cause.
messageFormat
only contains the raw error msg as an argument, and a custom prettifier forerr
anderror
is not run at all.