lib/toadhopper.rb in toadhopper-0.6 vs lib/toadhopper.rb in toadhopper-0.7
- old
+ new
@@ -33,9 +33,10 @@
http.read_timeout = 5 # seconds
http.open_timeout = 2 # seconds
begin
http.post uri.path, {"notice" => notice_params(error, options)}.to_yaml, headers
rescue TimeoutError => e
+ nil
end
end
end
private
# Replaces the values of the keys matching Toadhopper.filters with [FILTERED]. Typically used on the params and environment hashes.
\ No newline at end of file