From c601c530445a99104290157e5361cd0f88baaa71 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Sun, 19 Apr 2020 18:24:43 +0200 Subject: [PATCH] Fix typo in clusterctl.js Fix SessionLost being refered to as a global instead of from the errors module in clusterctl.js. --- clusterctl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clusterctl.js b/clusterctl.js index 6f38905e..d02594db 100644 --- a/clusterctl.js +++ b/clusterctl.js @@ -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; } }