GNOME Bugzilla – Bug 652472
Handle failure in getting the logger service better
Last modified: 2011-06-23 16:35:29 UTC
We don't check that the logger was successfully proxied from the bus. Branch coming up.
Created attachment 189834 [details] [review] Handle failure in getting the logger off the bus better http://cgit.collabora.com/git/user/pwith/folks/log/?h=652472-logger-failure
Review of attachment 189834 [details] [review]: Looks good - please merge.
(In reply to comment #2) > Review of attachment 189834 [details] [review]: > > Looks good - please merge. Actually, please make sure you update NEWS as well.
(In reply to comment #3) > (In reply to comment #2) > > Review of attachment 189834 [details] [review] [details]: > > > > Looks good - please merge. > > Actually, please make sure you update NEWS as well. Fixed (including the NEWS): commit 2d042c289bcc140f402c20603c12e57339815cf4 Author: Philip Withnall <philip@tecnocode.co.uk> Date: Mon Jun 13 17:20:34 2011 +0100 Bug 652472 — Handle failure in getting the logger service better If we fail to get the logger from the bus, get_object() may return NULL. If we check for this, we don't then try and connect a signal to a NULL object instance and emit criticals. Closes: bgo#652472 NEWS | 1 + backends/telepathy/lib/tpf-logger.vala | 7 +++++++ 2 files changed, 8 insertions(+), 0 deletions(-)