summaryrefslogtreecommitdiffhomepage
path: root/gui/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src/main')
-rw-r--r--gui/src/main/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts
index 07a0b711fe..0b3bb1b834 100644
--- a/gui/src/main/index.ts
+++ b/gui/src/main/index.ts
@@ -919,7 +919,7 @@ class ApplicationMain {
// If there's a fallback state set then the app is in an assumed next state and need to check
// if it's now reached or if the current state should be ignored and set as the fallback state.
if (this.tunnelStateFallback) {
- if (this.tunnelState.state === newState.state) {
+ if (this.tunnelState.state === newState.state || newState.state === 'error') {
this.tunnelStateFallbackScheduler.cancel();
this.tunnelStateFallback = undefined;
} else {