lib/smess/outputs/global_mouth.rb in smess-1.0.4 vs lib/smess/outputs/global_mouth.rb in smess-1.0.5
- old
+ new
@@ -5,19 +5,10 @@
class GlobalMouth < HttpBase
def deliver
generate_mac_hash
request.url = "#{url}?#{params.to_query}"
-
- begin
- response = HTTPI.get request
- result = normal_result(response)
- rescue Exception => e
- logger.warn response
- # connection problem or some error
- result = result_for_error(e)
- end
- result
+ http_get request
end
private
def username
\ No newline at end of file