mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 07:24:52 +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 {
|
||||
await link.messages.prepareDisconnect.send(this);
|
||||
} catch (err) {
|
||||
if (!(err instanceof SessionLost)) {
|
||||
if (!(err instanceof errors.SessionLost)) {
|
||||
throw err;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user