For now, ignore messages we can't read
authorMagnus Hagander <magnus@hagander.net>
Thu, 21 Jun 2012 15:45:14 +0000 (17:45 +0200)
committerMagnus Hagander <magnus@hagander.net>
Thu, 21 Jun 2012 15:45:14 +0000 (17:45 +0200)
Once we get aroud to logging which they are, we can go back to finding
out why on all of them :)

loader/lib/parser.py

index 74388b7731fcf9d6839f4c45713d61d6bd510250..1e6ec653788dc6bc56770fd2b2b71afefadb90b4 100644 (file)
@@ -112,7 +112,7 @@ class ArchivesParser(object):
                        b = self.html_clean(b)
                        return b
 
-               raise Exception("Don't know how to read the body from %s" % self.msgid)
+               raise IgnorableException("Don't know how to read the body from %s" % self.msgid)
 
        def recursive_first_plaintext(self, container, html_instead=False):
                for p in container.get_payload():