Add OS version to debuglog header
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
// SPDX-License-Identifier: AGPL-3.0-only
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
import { memoize, sortBy } from 'lodash';
|
import { memoize, sortBy } from 'lodash';
|
||||||
|
import os from 'os';
|
||||||
import { ipcRenderer as ipc } from 'electron';
|
import { ipcRenderer as ipc } from 'electron';
|
||||||
import { z } from 'zod';
|
import { z } from 'zod';
|
||||||
import FormData from 'form-data';
|
import FormData from 'form-data';
|
||||||
@@ -131,6 +132,7 @@ const getHeader = (
|
|||||||
'Node version': nodeVersion,
|
'Node version': nodeVersion,
|
||||||
Environment: getEnvironment(),
|
Environment: getEnvironment(),
|
||||||
'App version': appVersion,
|
'App version': appVersion,
|
||||||
|
'OS version': os.version(),
|
||||||
}),
|
}),
|
||||||
headerSection('User info', user),
|
headerSection('User info', user),
|
||||||
headerSection('Capabilities', capabilities),
|
headerSection('Capabilities', capabilities),
|
||||||
|
Reference in New Issue
Block a user