Skip operations without folder/message

This commit is contained in:
M66B 2022-10-20 09:01:34 +02:00
parent 518afffea1
commit b88d406af2
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,7 @@ import static androidx.room.ForeignKey.CASCADE;
import android.content.Context;
import android.content.SharedPreferences;
import android.database.sqlite.SQLiteConstraintException;
import android.text.TextUtils;
import androidx.annotation.NonNull;
@ -505,6 +506,9 @@ public class EntityOperation {
} catch (JSONException ex) {
Log.e(ex);
} catch (SQLiteConstraintException ex){
Log.w(ex);
// folder or message gone
}
}