Cast shell message to error

This commit is contained in:
Vladimir Borisov 2022-07-29 13:55:05 +03:00
parent 16aa087021
commit e20207b1ef
No known key found for this signature in database
GPG key ID: F9A584BE4FCB6603

View file

@ -20,7 +20,7 @@ function Shell() {
function onTransportInitError(err) {
console.error(err);
active = false;
error = err;
error = new Error(err);
starting = false;
onStateChanged();
transport = null;