Permalink
Browse files

Fixed incorrect exception thrown for missing EM

  • Loading branch information...
1 parent 37553b3 commit 186cdf1bdaae018d1951e8b2512ad356058e1cde @jdudek jdudek committed Feb 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pusher/request.rb
View
@@ -53,9 +53,9 @@ def send_sync
end
def send_async
+ http_client = @client.em_http_client(@uri)
df = EM::DefaultDeferrable.new
- http_client = @client.em_http_client(@uri)
http = case @verb
when :post
http_client.post({

0 comments on commit 186cdf1

Please sign in to comment.