log app version when opening session
This commit is contained in:
parent
d88720a18f
commit
5d55f6d78c
2 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -195,4 +195,8 @@ export class Platform {
|
|||
get devicePixelRatio() {
|
||||
return window.devicePixelRatio || 1;
|
||||
}
|
||||
|
||||
get version() {
|
||||
return window.HYDROGEN_VERSION;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue