Skip to content

Commit

Permalink
fix: Throw error when there is an error catch
Browse files Browse the repository at this point in the history
We catch the error, but don't throw them after that. Resulting that
services were considered OK...
  • Loading branch information
Crash-- committed Jan 17, 2024
1 parent 8690743 commit 98571f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/targets/services/onOperationOrBillCreateHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export const doBillsMatching = async (client, setting, options = {}) => {
}
} catch (e) {
log('error', `❗ [Bills matching service] ${e}`)
throw e
}
}

Expand Down Expand Up @@ -91,6 +92,7 @@ export const doTransactionsMatching = async (client, setting, options = {}) => {
}
} catch (e) {
log('error', `❗ [Transactions matching service] ${e}`)
throw e
}
}

Expand Down

0 comments on commit 98571f9

Please sign in to comment.