lib/pushbullet/client.rb in pushbullet_client-0.0.16 vs lib/pushbullet/client.rb in pushbullet_client-0.0.17
- old
+ new
@@ -53,10 +53,10 @@
params['limit'] = @limit
end
begin
response = send_request(http_method, path, params, payload)
- rescue => Socket::ResolutionError
+ rescue
# Retry once
# TODO: Add in retry amounts
response = send_request(http_method, path, params, payload)
end