Skip to content

Commit f6a1035

Browse files
committed
add status error for shell channel
1 parent 8f5318d commit f6a1035

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/iruby/kernel.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def execute_request(msg)
9494
rescue Exception => e
9595
content = error_content(e)
9696
@session.send(:publish, :error, content)
97+
content[:status] = :error
9798
end
9899
@session.send(:reply, :execute_reply, content)
99100
@session.send(:publish, :execute_result,

0 commit comments

Comments
 (0)