[Git][gajim/gajim][master] Jingle Audio: Add more log output

Philipp Hörist gitlab at dev.gajim.org
Fri Jan 11 21:53:52 CET 2019


Philipp Hörist pushed to branch master at gajim / gajim


Commits:
72be14a0 by Philipp Hörist at 2019-01-11T20:53:34Z
Jingle Audio: Add more log output

- - - - -


1 changed file:

- gajim/common/jingle_rtp.py


Changes:

=====================================
gajim/common/jingle_rtp.py
=====================================
@@ -224,12 +224,15 @@ class JingleRTPContent(JingleContent):
             # TODO: Fix it to fallback to videotestsrc anytime an error occur,
             # or raise an error, Jingle way
             # or maybe one-sided stream?
+            gerror_msg = message.get_structure().get_value('gerror')
+            debug_msg = message.get_structure().get_value('debug')
+            log.error(gerror_msg)
+            log.error(debug_msg)
             if not self.stream_failed_once:
                 app.nec.push_incoming_event(
                     InformationEvent(
                         None, dialog_name='gstreamer-error',
-                        kwargs={'error': message.get_structure().get_value('gerror'),
-                                'debug': message.get_structure().get_value('debug')}))
+                        kwargs={'error': gerror_msg, 'debug': debug_msg}))
 
             sink_pad = self.p2psession.get_property('sink-pad')
 



View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/72be14a04d3eca7f191dc857f60233df351eba34

-- 
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/72be14a04d3eca7f191dc857f60233df351eba34
You're receiving this email because of your account on dev.gajim.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gajim.org/pipermail/commits/attachments/20190111/43c33cbe/attachment.html>


More information about the Commits mailing list