wazo-calld: show original error message from Asterisk

Description

Given I have a voicemail full of archived messages
When I read a new message
Then wazo-calld returns error 500
Then I see in the logs:
Asterisk ARI internal error: {'asterisk_ari_config': {'base_url': 'http://localhost:5039'}, 'original_error': '500 Server Error: Internal Server Error for url: http://localhost:5039/ari/wazo/internal/voicemails/move_msg}

Expected: I see in the logs the message of the error from Asterisk:
Asterisk ARI internal error: {'asterisk_ari_config': {'base_url': 'http://localhost:5039'}, 'original_error': '500 Server Error: Internal Server Error for url: http://localhost:5039/ari/wazo/internal/voicemails/move_msg: Error moving message'}

Zendesk Ticket IDs

None

Activity

Show:
Done

Details

Priority

Assignee

Reporter

Approvers

François Blackburn

Fix versions

Sprint

Zendesk Support

Created May 21, 2021 at 2:50 PM
Updated June 21, 2021 at 4:56 PM
Resolved June 2, 2021 at 5:10 PM

Flag notifications