Skip to content

InterruptReply missing status and error properties #1100

@garlandz-db

Description

@garlandz-db

According to the jupyter messaging docs, we should be passing a status field in the content of the InterruptReply message. However in the implementation, we are just forwarding the request content (empty) back into the reply. As such, the reply has no information on status and the error properties in case the interrupt is not successful.

My suggestion on the fix should be a try catch around the send_interrupt_children and return a { 'status' : 'ok' } if no catch occurs and otherwise { 'status': 'error', ... }.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions