Skip to content

Commit

Permalink
non specific error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleysmithTTD committed Nov 1, 2024
1 parent c3cd6a9 commit 34392f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middleware/metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.`);

Check failure on line 88 in src/middleware/metrics.ts

View workflow job for this annotation

GitHub Actions / build

Strings must use singlequote

Check failure on line 88 in src/middleware/metrics.ts

View workflow job for this annotation

GitHub Actions / build

Strings must use singlequote
return false;
}
return false;
Expand Down

0 comments on commit 34392f5

Please sign in to comment.