X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lib%2Fsup%2Fpoll.rb;h=fb3aacf4311a297bca2923c3e7aeda050dc63c32;hb=9ab9dc93ef05d6c0c1b702fe52a177847ff1a6bb;hp=8a9d2188b7ec8f5f92e5bd44fc2beb94d475c282;hpb=1a3850da15b12880f355ef70f6bfc881a859874f;p=sup diff --git a/lib/sup/poll.rb b/lib/sup/poll.rb index 8a9d218..fb3aacf 100644 --- a/lib/sup/poll.rb +++ b/lib/sup/poll.rb @@ -11,6 +11,12 @@ Variables: message: the new message EOS + HookManager.register "after-add-message", < messages + rescue SourceError => e Redwood::log "problem getting messages from #{source}: #{e.message}" Redwood::report_broken_sources :force_to_top => true