Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add name to action error message

  • Loading branch information...
commit d0d24244755259d5292bded68e453c90e0e7b21a 1 parent 58eb3a8
@cldwalker authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/bond/mission.rb
View
2  lib/bond/mission.rb
@@ -97,7 +97,7 @@ def call_action(input)
rescue StandardError, SyntaxError
message = $!.is_a?(NoMethodError) && !@action.respond_to?(:call) &&
!Rc.respond_to?(@action) ? "Completion action '#{@action}' doesn't exist." :
- "Failed during completion action with '#{$!.message}'."
+ "Failed during completion action '#{name}' with '#{$!.message}'."
raise FailedMissionError.new(self), message
end
Please sign in to comment.
Something went wrong with that request. Please try again.