Skip to content
Browse files

Fixed an exception occuring on an unexpected frame [#2].

  • Loading branch information...
1 parent c1b91b2 commit 91d4b039d56128687119553870f8b16d797e3a37 @botanicus botanicus committed Jul 13, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/qrack/client.rb
View
3 lib/qrack/client.rb
@@ -99,7 +99,8 @@ def logging=(bool)
end
def next_payload(options = {})
- next_frame(options).payload
+ res = next_frame(options)
+ res.payload if res
end
alias next_method next_payload

0 comments on commit 91d4b03

Please sign in to comment.
Something went wrong with that request. Please try again.