X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lib%2Fsup%2Fpoll.rb;h=fb3aacf4311a297bca2923c3e7aeda050dc63c32;hb=9ab9dc93ef05d6c0c1b702fe52a177847ff1a6bb;hp=c83290cc073ecac3d7e9dc3797a0d432a3f482de;hpb=df66a19276091678b01f1f9c147cb6a58f3dd6f0;p=sup diff --git a/lib/sup/poll.rb b/lib/sup/poll.rb index c83290c..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