add_chain_to(exception, new_chain)private
No documentation available.
# File lib/rake/task.rb, line 187
def add_chain_to(exception, new_chain) # :nodoc:
exception.extend(InvocationExceptionMixin) unless
exception.respond_to?(:chain)
exception.chain = new_chain if exception.chain.nil?
end