Skip to content
Snippets Groups Projects
Commit 6ee49a31 authored by Adrien Béraud's avatar Adrien Béraud Committed by gerrit2
Browse files

manager: catch exceptions when sending text message

Change-Id: I1263033e933d68331148bd94c0c1bb63157e2232
Tuleap: #457
parent d5d742e3
No related branches found
No related tags found
No related merge requests found
......@@ -2751,7 +2751,11 @@ Manager::sendTextMessage(const std::string& accountID, const std::string& to,
const auto acc = getAccount(accountID);
if (!acc)
return;
try {
acc->sendTextMessage(to, payloads);
} catch (const std::exception& e) {
RING_ERR("Exception during text message sending: %s", e.what());
}
}
void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment