lib/command.rb 🔗
@@ -104,6 +104,7 @@ class Command
}.catch_only(Timeout) { nil }.catch_only(FinalStanza) { |e|
@blather << e.stanza
}.catch do |e|
+ e = RuntimeError.new(e) if e.is_a?(String)
send_final_error(e)
EMPromise.reject(e)
end