Skip to content

Commit

Permalink
fix: connection issues detection / resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
evereq committed Mar 31, 2024
1 parent 7be4e93 commit aef651f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@ export class ServerConnectionService {
});
} else {
console.log(`Skip checking server connection for URL ${url}`);
this.store.serverConnection = 200;
resolve(true);
}
} catch (error) {
console.error(`Error checking server connection in ServerConnectionService for URL ${url}`, error);
this.store.serverConnection = 500;
reject(error);
}
});
Expand Down

0 comments on commit aef651f

Please sign in to comment.