1
0
Fork 0

improved mmsbox logging on error

This commit is contained in:
bagyenda 2007-07-25 05:46:29 +00:00
parent 27d9e7f6ec
commit b3da1b4ead
1 changed files with 1 additions and 1 deletions

View File

@ -1268,7 +1268,7 @@ static void sendmms_func(void *unused)
1, NULL,
&err);
if (res < 0)
rb = octstr_imm("Error in message conversion");
rb = octstr_format("Error in message conversion: %S", err);
} else if (!rb)
rb = octstr_imm("Failed to send message");
http_send_reply(client, (res == 0) ? HTTP_OK : HTTP_BAD_REQUEST, hh,