Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: Check status when retrieving sessions before parsing reply #332

Merged
merged 1 commit into from
Nov 1, 2020

Conversation

jitseniesen
Copy link
Member

Having received the response from the server to our request to list all sessions, first check whether the status is ok and only if it is, parse the reply. Before (in code added in PR #232), this was done in the opposite order.

Update the test to ensure reply is not parsed if status is not ok.

Fixes #317.

Having received the response from the server to our request to
list all sessions, first check whether the status is ok and
only if it is, parse the reply. Before, this was done in the
opposite order.

Update the test to ensure reply is not parsed if status is
not ok.
@jitseniesen jitseniesen added this to the v0.3.1 milestone Oct 31, 2020
@jitseniesen jitseniesen changed the title Client: Check status when retrieving sessions before parsing reply PR: Check status when retrieving sessions before parsing reply Nov 1, 2020
@jitseniesen jitseniesen merged commit 6d82633 into spyder-ide:master Nov 1, 2020
@jitseniesen jitseniesen deleted the kernelid branch November 1, 2020 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JSONDecodeError when closing notebook
1 participant