Add OS version to debuglog header

This commit is contained in:
Fedor Indutny 2021-11-16 20:36:07 +01:00 committed by GitHub
parent 515943c46c
commit 670b995345
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,7 @@
// SPDX-License-Identifier: AGPL-3.0-only
import { memoize, sortBy } from 'lodash';
import os from 'os';
import { ipcRenderer as ipc } from 'electron';
import { z } from 'zod';
import FormData from 'form-data';
@ -131,6 +132,7 @@ const getHeader = (
'Node version': nodeVersion,
Environment: getEnvironment(),
'App version': appVersion,
'OS version': os.version(),
}),
headerSection('User info', user),
headerSection('Capabilities', capabilities),