From 14519999ee878772330bbf122bbaf176a12db36a Mon Sep 17 00:00:00 2001 From: Stanislav Rassokhin Date: Wed, 20 Mar 2024 17:31:27 +0400 Subject: [PATCH] delete global from regexp --- services/rfcx/ingest.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/services/rfcx/ingest.js b/services/rfcx/ingest.js index a2377b9..5f103cc 100644 --- a/services/rfcx/ingest.js +++ b/services/rfcx/ingest.js @@ -20,12 +20,12 @@ const extensionsRequiringConvToWav = ['.flac'] const { IngestionError } = require('../../utils/errors') const loggerIgnoredErrors = [ - /Duplicate file\. Matching sha1 signature already ingested\./g, - /This file was already ingested\./g, - /File extension is not supported/g, - /Stream source file was not created/g, - /Cannot create source file with provided data/g, - /There is another file with the same timestamp in the stream/g + /Duplicate file\. Matching sha1 signature already ingested\./, + /This file was already ingested\./, + /File extension is not supported/, + /Stream source file was not created/, + /Cannot create source file with provided data/, + /There is another file with the same timestamp in the stream/ ] if (PROMETHEUS_ENABLED) {