Raise AmidError when amid-client return ami error

Description

When I use wazo-amid to request:


Then I receive a 200 with the following body:

Expected: wazo-amid-client raise an error with the message "Could not start monitoring channel"

reason: It can hide errors and the client need to make custom logic to check if action has fail or not

Done

Assignee

François Blackburn

Reporter

François Blackburn

Sprint

None

Labels

None

Approvers

Pascal Cadotte

Pair

None

Fix versions

Priority

Medium