diff --git a/src/org/kde/kdeconnect/Helpers/SMSHelper.java b/src/org/kde/kdeconnect/Helpers/SMSHelper.java index d073f725..b34cd993 100644 --- a/src/org/kde/kdeconnect/Helpers/SMSHelper.java +++ b/src/org/kde/kdeconnect/Helpers/SMSHelper.java @@ -363,7 +363,7 @@ public class SMSHelper { } } while ((numberToGet == null || toReturn.size() < numberToGet) && myCursor.moveToNext()); } - } catch (SQLiteException e) { + } catch (SQLiteException | IllegalArgumentException e) { String[] unfilteredColumns = {}; try (Cursor unfilteredColumnsCursor = context.getContentResolver().query(uri, null, null, null, null)) { if (unfilteredColumnsCursor != null) {