Skip to content

Commit

Permalink
Merge pull request #7718 from ever-co/develop
Browse files Browse the repository at this point in the history
fix: connection issues detection / resolve
  • Loading branch information
evereq authored Mar 31, 2024
2 parents 71978ff + aef651f commit 7c02b02
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 7c02b02

Please sign in to comment.