Update to Angular 14

This commit is contained in:
2026-03-23 20:46:24 +01:00
parent 1dea5953f6
commit f23e34dd09
33 changed files with 2483 additions and 2977 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ import * as paths from '../paths';
import { logger } from '../logger';
import { AdminService } from '../services/adminService';
import { loadSettings, saveSettings } from '../settings';
import { flatten } from '../../common/utils';
import { flatten, isErrorAlike } from '../../common/utils';
function encodeItems<T>(items: T[], base: BaseValues, encode: (items: T, base: BaseTimes) => any[]): any[][] {
const baseValues = getBaseTimes(base);
@@ -139,7 +139,7 @@ export async function getChat(search: string, date: string, caseInsensitive: boo
const log = await fetchChatlog(lines);
return more + log;
} catch (e) {
if (e.message !== 'stdout maxBuffer exceeded') {
if (isErrorAlike(e) && e.message !== 'stdout maxBuffer exceeded') {
throw e;
}
}