careerbuilder / ruby-cb-api

Ruby wrapper around the CareerBuilder.com APIs
Apache License 2.0
14 stars 18 forks source link

Add error message to error raised from API #253

Closed oochelz closed 8 years ago

oochelz commented 8 years ago

We get a bunch of Cb::ServerErrors with the message also set to Cb::ServerError, which isn't helpful. New Relic cannot group errors with them all set to this. This is an attempt to fix that, at least for the APIs that follow the standard (uses an 'errors' node which is an array of strings).