Skip to content

Commit

Permalink
dialplan MI 'dp_show_partition': Indicate client-side errors
Browse files Browse the repository at this point in the history
(cherry picked from commit 657a8b5)
(cherry picked from commit 9d0145d)
  • Loading branch information
liviuchircu committed Nov 4, 2020
1 parent 8cb6048 commit e680041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dialplan/dialplan.c
Expand Up @@ -779,7 +779,7 @@ static mi_response_t *mi_show_partition_1(const mi_params_t *params,

el = dp_get_connection(&part);
if (!el)
return 0;
return init_mi_error(404, MI_SSTR("Partition Not Found"));

resp = init_mi_result_object(&resp_obj);
if (!resp)
Expand Down

0 comments on commit e680041

Please sign in to comment.