changeset 76:c690198a2625

merge commit
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 26 Sep 2010 10:38:51 -0700 (2010-09-26)
parents 6b8ccf6ec819 (current diff) 2c219b788648 (diff)
children 5b1259424c51
files bitsyblog/bitsyblog.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/bitsyblog/bitsyblog.py	Fri Sep 24 19:01:07 2010 -0700
+++ b/bitsyblog/bitsyblog.py	Sun Sep 26 10:38:51 2010 -0700
@@ -344,7 +344,10 @@
         # fire event handlers
         # XXX could be done asynchronously
         for handler in self.handlers:
+          try:
             handler(blog_entry, location)
+          except:
+            pass
 
         # point the user at the post
         return exc.HTTPSeeOther("Post blogged by bitsy", location=location)