Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rescue form TimeoutError.

  • Loading branch information...
commit c0f0d23f1eed6c7cead492cce266aa9fb17b0eaa 1 parent e71eeca
Emilio Tagua authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/bravo/bill.rb
2  lib/bravo/bill.rb
View
@@ -110,7 +110,7 @@ def next_bill_number
end
resp.to_hash[:fe_comp_ultimo_autorizado_response][:fe_comp_ultimo_autorizado_result][:cbte_nro].to_i + 1
- rescue Curl::Err::GotNothingError
+ rescue Curl::Err::GotNothingError, Curl::Err::TimeoutError
nil
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.