mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 00:09:35 +00:00
This adds the error header to all cases of internal server error so they show up properly in audit. This is done by one of two approaches - 1. preferably using the `map_error_to_http_response` function , so that everything goes via the same function 2. directly adding the header where the above function cannot be used because is is not an error per say like trying to ingest at non-ingester. --------- Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com> Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com>