Skip to content

Commit

Permalink
Merge pull request #344 from rfcx/arbimon-recs
Browse files Browse the repository at this point in the history
Throw an error if creating recs in Arbimon fails
  • Loading branch information
rassokhin-s authored Apr 12, 2022
2 parents 6347936 + 90b26b0 commit bd8a284
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/_services/arbimon/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ function createRecordings (body) {
.then((response) => {
if (response !== 'Created') {
console.error(`arbimon createRecordings: req: ${JSON.stringify(body)} res: ${JSON.stringify(response)}`)
throw Error('Unable to create recordings in Arbimon')
}
})
}
Expand Down

0 comments on commit bd8a284

Please sign in to comment.