honeybadger icon indicating copy to clipboard operation
honeybadger copied to clipboard

Allow CGI data in metadata?

Open tfausak opened this issue 8 years ago • 1 comments

I would like to add user agents to my reported exceptions. I think that's done with the HTTP_USER_AGENT key in the cgi_data dictionary. See http://docs.honeybadger.io/guides/api.html#overview for example.

If I try to add my own {:cgi_data {:HTTP_USER_AGENT "..."}} metadata, I get this error: Output of normalize-event does not match schema: {:metadata {:cgi_data disallowed-key}}.

tfausak avatar Apr 15 '16 21:04 tfausak

Hmm, I didn't realize that section was completely open to extension. That changes things a bit. I'll think this over and come back to it.

camdez avatar Dec 02 '16 12:12 camdez