+ try {
+ $msg = $this->formatNotice($notice);
+ $entry = $this->format_entry($notice);
+ } catch (Exception $e) {
+ common_log(LOG_ERR, __METHOD__ . ": Discarding outgoing stanza because of exception: {$e->getMessage()}");
+ return false; // return value of sendNotice is never actually used as of now
+ }