Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
The error message is in the 3 field of the payload.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Jun 1, 2010
1 parent 5345f6b commit d3290da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/badger/client.rb
Expand Up @@ -130,7 +130,7 @@ def call(service,name,*args)
when Response::RETURN
return payload[2]
when Response::ERROR
raise(RuntimeError,payload[3],caller)
raise(RuntimeError,payload[2],caller)
end
end
end
Expand Down

0 comments on commit d3290da

Please sign in to comment.