loco_bill 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/loco_bill/request.rb +2 -1
- metadata +2 -2
data/lib/loco_bill/request.rb
CHANGED
@@ -104,7 +104,8 @@ module LocoBill
|
|
104
104
|
RequestResult.new(res)
|
105
105
|
else
|
106
106
|
HoptoadNotifier.notify(
|
107
|
-
:error_class => "LocoBill::
|
107
|
+
:error_class => "LocoBill::RequestError",
|
108
|
+
:error_message => "#{res[:errorcode]}: #{res[:errormessage]}",
|
108
109
|
:parameters => {:raw_response => raw_response, :original_request => original_request}
|
109
110
|
) if Object.const_defined?(:HoptoadNotifier)
|
110
111
|
|