Skip to content

Commit

Permalink
fix: adding sonar config file
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel78uk committed Dec 1, 2023
1 parent f43684c commit 39a4dbd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/utils/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ const makeRequest = async (method, url, options, _ext = false) => {
const { res, payload } = response

if (res.statusCode !== 200) {
// NOSONAR
const err = payload || new Error('Unknown error')

throw err
}

Expand Down

0 comments on commit 39a4dbd

Please sign in to comment.