Fix typo in clusterctl.js

Fix SessionLost being refered to as a global instead of from the errors
module in clusterctl.js.
This commit is contained in:
Hornwitser committed 2020-04-19 18:24:43 +02:00
1 parent 3603b16901
commit c601c53044
1 file changed
+1 -1
+1 -1
View File
@@ -370,7 +370,7 @@ class Control extends link.Link {
try {
await link.messages.prepareDisconnect.send(this);
} catch (err) {
if (!(err instanceof SessionLost)) {
if (!(err instanceof errors.SessionLost)) {
throw err;
}
}