Skip to content

Commit

Permalink
465372: Reduce logging to error as it causes noise in dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
philsegal committed Dec 10, 2024
1 parent 1087b07 commit e258d3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"lint:js": "eslint --cache .",
"lint:types": "tsc --build tsconfig.json",
"postversion": "git add package.json package-lock.json && git commit -m $npm_package_version",
"test": "jest --coverage --verbose",
"test": "jest --coverage --verbose --runInBand",
"test:watch": "jest --watch",
"server:watch": "nodemon --exec tsx --enable-source-maps ./src",
"server:debug": "nodemon --exec tsx --enable-source-maps --inspect ./src",
Expand Down
2 changes: 1 addition & 1 deletion src/api/common/helpers/fail-action.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ const logger = createLogger()
* @returns { never }
*/
export function failAction(_request, _h, error) {
logger.error(error, error?.message)
logger.warn(error, error?.message)
throw error
}

0 comments on commit e258d3b

Please sign in to comment.