summaryrefslogtreecommitdiff
path: root/loader/lib/log.py
diff options
context:
space:
mode:
authorMagnus Hagander2019-01-03 10:14:30 +0000
committerMagnus Hagander2019-01-04 11:23:39 +0000
commitfa36dc94bbd0bc86bf63458d8f00da04785ac669 (patch)
tree3cc216c4fb6212907172f2c38bbf7ca67e038e5c /loader/lib/log.py
parentbb5775efe5f938461537e0c95c7c110875e4718b (diff)
Trap internal AssertionError from python libraries
For some really broken messages, we end up in a cannot-happen codepath. Trap this one and just consider that MIME part empty, and try again later. In passing, also change it so we continue loading after failures of parsing. We continued in the mode where we just generated diffs, but not when making updates. Now continue in both cases, but of course don't do the actual update if the parsing failed.
Diffstat (limited to 'loader/lib/log.py')
0 files changed, 0 insertions, 0 deletions