Filter invalid mark

This commit is contained in:
M66B 2019-11-02 17:15:41 +01:00
parent 614f5253c3
commit 2a7204fdcb
1 changed files with 4 additions and 0 deletions

View File

@ -253,6 +253,10 @@ public class Log {
ex.getMessage().startsWith("https://autoconfig.thunderbird.net/")))
return false;
if (ex instanceof IOException &&
"Resetting to invalid mark".equals(ex.getMessage()))
return false;
// Rate limit
int count = prefs.getInt("crash_report_count", 0) + 1;
prefs.edit().putInt("crash_report_count", count).apply();