log app version when opening session

This commit is contained in:
Bruno Windels 2021-03-15 16:55:14 +01:00
parent d88720a18f
commit 5d55f6d78c
2 changed files with 5 additions and 0 deletions

View file

@ -146,6 +146,7 @@ export class SessionContainer {
}
async _loadSessionInfo(sessionInfo, isNewLogin, log) {
log.set("appVersion", this._platform.version);
const clock = this._platform.clock;
this._sessionStartedByReconnector = false;
this._status.set(LoadStatus.Loading);

View file

@ -195,4 +195,8 @@ export class Platform {
get devicePixelRatio() {
return window.devicePixelRatio || 1;
}
get version() {
return window.HYDROGEN_VERSION;
}
}