mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-24 08:23:12 +09:00
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:
1 parent
3603b16901
commit
c601c53044
1 file changed
+1
-1
+1
-1
@@ -370,7 +370,7 @@ class Control extends link.Link {
|
|||||||
try {
|
try {
|
||||||
await link.messages.prepareDisconnect.send(this);
|
await link.messages.prepareDisconnect.send(this);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
if (!(err instanceof SessionLost)) {
|
if (!(err instanceof errors.SessionLost)) {
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user