improved mmsbox logging on error
This commit is contained in:
parent
27d9e7f6ec
commit
b3da1b4ead
|
@ -1268,7 +1268,7 @@ static void sendmms_func(void *unused)
|
||||||
1, NULL,
|
1, NULL,
|
||||||
&err);
|
&err);
|
||||||
if (res < 0)
|
if (res < 0)
|
||||||
rb = octstr_imm("Error in message conversion");
|
rb = octstr_format("Error in message conversion: %S", err);
|
||||||
} else if (!rb)
|
} else if (!rb)
|
||||||
rb = octstr_imm("Failed to send message");
|
rb = octstr_imm("Failed to send message");
|
||||||
http_send_reply(client, (res == 0) ? HTTP_OK : HTTP_BAD_REQUEST, hh,
|
http_send_reply(client, (res == 0) ? HTTP_OK : HTTP_BAD_REQUEST, hh,
|
||||||
|
|
Loading…
Reference in New Issue