1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

feat: logging errors on log file

This commit is contained in:
2023-11-27 13:36:56 +01:00
parent c3d96cb35b
commit 315d9d84c2
7 changed files with 80 additions and 75 deletions

View File

@@ -8,7 +8,7 @@ import * as path from 'path';
import { validateSender } from '../libs/misc/validateSender';
const isDevelopment = process.env.NODE_ENV !== 'production';
const isFlatpak = process.platform === 'linux' && Boolean(process.env.FLATPAK_ID?.includes('fabiodistasio') || process.env.FLATPAK_ID?.includes('AntaresSQL'));
const isFlatpak = process.platform === 'linux' && process.env.FLATPAK_ID;
export default (connections: {[key: string]: antares.Client}) => {
let exporter: ChildProcessWithoutNullStreams = null;