Skip to content

Commit

Permalink
messages: in case of remote exception propagate the real name of the …
Browse files Browse the repository at this point in the history
…class
  • Loading branch information
niamster committed Feb 16, 2015
1 parent 313b575 commit 828ebb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dcell/messages.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def __dispatch(actor)
end
SuccessResponse.new(@id, @sender[:address], value)
rescue => e
ErrorResponse.new(@id, @sender[:address], {:class => RuntimeError.name, :msg => e.to_s})
ErrorResponse.new(@id, @sender[:address], {:class => e.class.name, :msg => e.to_s})
end

def dispatch
Expand Down

0 comments on commit 828ebb6

Please sign in to comment.