Skip to content
Snippets Groups Projects
Commit 6194ff90 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

#6056: Fix SdpException handling

parent d79abab1
No related branches found
No related tags found
No related merge requests found
......@@ -3533,12 +3533,12 @@ void sdp_media_update_cb (pjsip_inv_session *inv, pj_status_t status)
call->getAudioRtp()->updateSessionMedia (static_cast<AudioCodec *>(audiocodec));
}
} // FIXME: should this really be std::exception? If so, it should be caught last
catch (const SdpException &e) {
_error("UserAgent: Exception: %s", e.what());
}
catch (const std::exception& rtpException) {
_error ("UserAgent: Exception: %s", rtpException.what());
}
catch (const SdpException &e) {
_error("UserAgent: Exception: %s", e.what());
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment