[#53272017] Sends request headers when reporting ruby exceptions

factored logic for assembling params into a separate report