Skip to content

Commit 282f1be

Browse files
authored
Merge pull request #210 from kojix2/execution_count_reply_error
Add execution_count on reply error messages.
2 parents ae9b481 + 10a618f commit 282f1be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/iruby/kernel.rb

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

0 commit comments

Comments
 (0)