Skip to content

Commit

Permalink
Handling error during selecting a kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
Imam committed Aug 26, 2019
1 parent 7274670 commit 5bf26c9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/apputils/src/clientsession.tsx
Expand Up @@ -623,7 +623,11 @@ export class ClientSession implements IClientSession {
});
}
if (model) {
return this._changeKernel(model).then(() => undefined);
return this._changeKernel(model).then(() => undefined)
.catch( err => {
this._handleSessionError(err);
return Promise.reject(err);
});
}
})
.then(() => {
Expand Down

0 comments on commit 5bf26c9

Please sign in to comment.