From 34392f55dc876b9fe65e4e42d26d720d4e30dc15 Mon Sep 17 00:00:00 2001 From: Ashley Smith Date: Fri, 1 Nov 2024 14:50:45 -0600 Subject: [PATCH] non specific error message --- src/middleware/metrics.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middleware/metrics.ts b/src/middleware/metrics.ts index 5648feb..a245c01 100644 --- a/src/middleware/metrics.ts +++ b/src/middleware/metrics.ts @@ -85,7 +85,7 @@ const makeMetricsApiMiddleware = (options: Options = {}) => { return true; } } catch (e: unknown) { - logger.error(`Unable to perform regex match on path: ${e}`); + logger.error(`Error: something went wrong.`); return false; } return false;