Enabling logging to raise exceptions, hardening my exception handling, and tracking...
[theonering] / src / channel / call.py
index 0fd08ea..aefc598 100644 (file)
@@ -186,7 +186,7 @@ class CallChannel(
                                {},
                        )
                except Exception:
-                       _moduleLogger.exception(result)
+                       _moduleLogger.exception("While placing call to %s" % (self.__calledNumber, ))
                        return
 
                self._delayedClose.start(seconds=0)
@@ -202,7 +202,7 @@ class CallChannel(
                                {},
                        )
                except Exception:
-                       _moduleLogger.exception(result)
+                       _moduleLogger.exception("While canceling a call to %s" % (self.__calledNumber, ))
                        return
 
        @misc_utils.log_exception(_moduleLogger)