We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a52159e commit 33ede4cCopy full SHA for 33ede4c
1 file changed
src/heartbeat.ts
@@ -326,6 +326,11 @@ export class HeartbeatManager {
326
}
327
328
private async syncOfflineHeartbeats(): Promise<void> {
329
+ log(
330
+ "Syncing offline heartbeats to the contected ziit instance: " +
331
+ (await getBaseUrl())
332
+ );
333
+
334
if (!this.isOnline || this.offlineHeartbeats.length === 0) return;
335
const apiKey = await getApiKey();
336
const baseUrl = await getBaseUrl();
@@ -731,9 +736,6 @@ export class HeartbeatManager {
731
736
this.statusBar.setOnlineStatus(isOnline);
732
737
733
738
log(`Online status changed to: ${isOnline ? "online" : "offline"}`);
734
- }
735
-
- if(this.isOnline == true) {
739
this.syncOfflineHeartbeats();
740
741
0 commit comments