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;