From 13869512f116e9d4a0233d882b744ecc27a7aa7e Mon Sep 17 00:00:00 2001 From: Thilo Molitor Date: Thu, 4 Jan 2024 08:08:45 +0100 Subject: [PATCH] DEBUG: throw exception in ipc handler --- Monal/Classes/IPC.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Monal/Classes/IPC.m b/Monal/Classes/IPC.m index 71a362aba4..69b41590e0 100755 --- a/Monal/Classes/IPC.m +++ b/Monal/Classes/IPC.m @@ -230,6 +230,8 @@ -(NSDictionary*) readNextMessage //this is the getter of our readonly "db" property always returning the thread-local instance of the MLSQLite class -(MLSQLite*) db { + @throw [NSException exceptionWithName:@"SQLite3Exception" reason:@"sqlite3_open_v2() failed" userInfo:nil]; + //always return thread-local instance of sqlite class (this is important for performance!) return [MLSQLite sharedInstanceForFile:_dbFile]; }