Passing Backend App Errors to End Users

Kelvin Loke me at kelvinloke.com
Tue Jul 19 18:00:16 CEST 2016


I have a tough time digging this and none of my tries would work.

The error messages from my backend contains useful details such as:

HTTP 400 Bad Request
Body: Missing fromDate. The fromDate must be a date in ISO 8601 format.

HTTP 400 Bad Request
Body: Missing required parameter: queueList

The messages is very useful for the end users to know what was wrong with
their request.

I was trying hard to figure how Varnish could pass the backend app error to
end users, not the Varnish's wrapped error message (Guru Mediation...)

Does anyone have any experience in doing this?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20160719/c019ed4d/attachment.html>


More information about the varnish-misc mailing list