diff --git a/src/logging/IDBLogger.ts b/src/logging/IDBLogger.ts index ab9474b0..863ff5a3 100644 --- a/src/logging/IDBLogger.ts +++ b/src/logging/IDBLogger.ts @@ -201,6 +201,7 @@ class IDBLogExport implements ILogExport { const log = { formatVersion: 1, appVersion: this._platform.updateService?.version, + platform: this._platform.description, items: this._items.map(i => JSON.parse(i.json)) }; const json = JSON.stringify(log); diff --git a/src/platform/web/Platform.js b/src/platform/web/Platform.js index 0d95e585..a138e70c 100644 --- a/src/platform/web/Platform.js +++ b/src/platform/web/Platform.js @@ -366,7 +366,7 @@ export class Platform { } get description() { - return navigator.userAgent ?? ""; + return "web-" + (navigator.userAgent ?? ""); } dispose() {