graphiti-api / graphiti-rails

MIT License
54 stars 28 forks source link

Add config option to omit __details__ #33

Open richmolj opened 5 years ago

richmolj commented 5 years ago

The __details__ payload is good because it better matches rails, but has the downside of duplicating the information already present in __raw_error__. My thought is we should make this a configuration option, disabling __details__ by default.

wagenet commented 5 years ago

FWIW, it's not a complete duplicate. It can have the backtrace filtered in multiple ways, which might be useful for debugging.