Skip to content

Commit

Permalink
log window.location.pathname for version error, not ws url
Browse files Browse the repository at this point in the history
  • Loading branch information
schlawg committed Dec 31, 2024
1 parent 1986d7e commit 4c33092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/common/src/socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ class WsSocket {
console.debug('version gap, retrying', m.v, this.version, retries);
setTimeout(() => this.handle(m, retries - 1), 200);
} else {
log(`${this.lastUrl}: version mismatch incoming ${m.v} vs current ${this.version}`);
log(`${window.location.pathname}: version incoming ${m.v} vs current ${this.version}`);
site.reload();
}
return;
Expand Down

0 comments on commit 4c33092

Please sign in to comment.