class Honeybadger::Backend::Response
def parse_error(body)
def parse_error(body) return unless body =~ NOT_BLANK obj = JSON.parse(body) return obj['error'] if obj.kind_of?(Hash) rescue JSON::ParserError nil end
def parse_error(body) return unless body =~ NOT_BLANK obj = JSON.parse(body) return obj['error'] if obj.kind_of?(Hash) rescue JSON::ParserError nil end