Skip to content

[test] Flag messages that have 'ValueError' with 'error decrypting' set to 'True' & log the doc_id's

Sriram Viswanathan requested to merge (removed):expired_key_logs into master

In addition to the UnicodeError exception in _process_decrypted_doc function, we have added ValueError to the exception list so that we can catch any error in JSON parsing, specially a 'NODATA' error that we were getting with some of the emails.

This is in reference to issues - https://github.com/pixelated/pixelated-user-agent/issues/908 & https://github.com/pixelated/pixelated-user-agent/issues/981 - to ignore documents that have this problem and not have Soledad try to sync them again and again.

Merge request reports

Loading