mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-08 04:26:55 +03:00
💄 style(podkop): update error log filtering criteria
This commit is contained in:
@@ -895,9 +895,8 @@ function startErrorPolling() {
|
|||||||
const logs = result.stdout;
|
const logs = result.stdout;
|
||||||
|
|
||||||
const errorLines = logs.split('\n').filter(line =>
|
const errorLines = logs.split('\n').filter(line =>
|
||||||
line.includes('error') ||
|
// line.includes('saved for future filters') ||
|
||||||
line.includes('Error') ||
|
line.includes('[critical]')
|
||||||
line.includes('ERROR')
|
|
||||||
);
|
);
|
||||||
|
|
||||||
if (errorLines.length > 0) {
|
if (errorLines.length > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user