Skip to content
Snippets Groups Projects
Commit 33fe6bb3 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

CallServicesManager: check for handler id parsing exception

Change-Id: I5efa45a80f05c6ba4106e05234612c6ea5d6fdf9
parent aa0d358f
Branches
No related tags found
No related merge requests found
......@@ -132,7 +132,11 @@ CallServicesManager::toggleCallMediaHandler(const std::string& mediaHandlerId,
const std::string& callId,
const bool toggle)
{
toggleCallMediaHandler(std::stoull(mediaHandlerId), callId, toggle);
try {
toggleCallMediaHandler(std::stoull(mediaHandlerId), callId, toggle);
} catch (const std::exception& e) {
JAMI_ERR("Error toggling media handler: %s", e.what());
}
}
std::map<std::string, std::string>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment