Report which email failed to import when the blob is too large (fixes #22)
This commit is contained in:
@@ -101,6 +101,10 @@ impl<'a> Uploader<'a> {
|
||||
self.cache.remove(&local_id);
|
||||
}
|
||||
|
||||
fn blob_len(&self, local_id: i64) -> Option<u64> {
|
||||
db::blobs::blob_len(self.conn, local_id).ok().flatten()
|
||||
}
|
||||
|
||||
fn take_touched(&mut self) -> Vec<i64> {
|
||||
std::mem::take(&mut self.touched)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user