Hi, is there an elegant way to tell BentoML to print the request content to the logs if a request fails? I know I can put everything in try/catch, but I’m looking for a nicer way to do that. 🙂 thanks!
c
Chaoyu
07/03/2024, 7:06 AM
@Frost Ming any recommendations?
f
Frost Ming
07/03/2024, 7:13 AM
Based on the existing exposed interfaces, it can only be accomplished using a middleware.
o
Oren Lederman
07/03/2024, 4:24 PM
Try & catch it is then, for now. Thanks!
(could be a nice feature fore debugging failed calls)