lib/agx/sync/client.rb in agx-0.2.6 vs lib/agx/sync/client.rb in agx-0.2.7

- old
+ new

@@ -106,10 +106,10 @@ "#{@api_url}Transaction/#{@transaction_id}", :headers => @headers ) return true rescue => e - if e.response && e.response.body == "The specified transaction is invalid or expired." + if e.response && e.response.status && e.response.status.to_i >= 400 return true else handle_error(e) end end