It is possible to get boom data to good logging. What I have in mind is:
in my code I throw exception:
throw Boom.badRequest('Wrong customer id', { customerId: 15 })
and in logging(done by good) when I process the event "response" I got only in data.responsePayload :
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
Hi,
It is possible to get boom data to good logging. What I have in mind is: in my code I throw exception:
throw Boom.badRequest('Wrong customer id', { customerId: 15 })
and in logging(done by good) when I process the event "response" I got only in data.responsePayload :
{ error:"Not Found" message:"Wrong customer id" statusCode:404 }
Is it possible to get also the data such as customerId in my example?
Thank you Jan Opravil