From 6194ff90a5cfb0e519316ef467455f7921765a0c Mon Sep 17 00:00:00 2001 From: Alexandre Savard <asavard@asavard.(none)> Date: Wed, 8 Jun 2011 14:00:54 -0400 Subject: [PATCH] #6056: Fix SdpException handling --- sflphone-common/src/sip/sipvoiplink.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sflphone-common/src/sip/sipvoiplink.cpp b/sflphone-common/src/sip/sipvoiplink.cpp index 69f52d70a4..a12edf9d16 100644 --- a/sflphone-common/src/sip/sipvoiplink.cpp +++ b/sflphone-common/src/sip/sipvoiplink.cpp @@ -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()); - } } -- GitLab