Skip to content

Commit

Permalink
DEBUG: throw exception in ipc handler
Browse files Browse the repository at this point in the history
  • Loading branch information
tmolitor-stud-tu committed Jan 4, 2024
1 parent 26f4fd5 commit 1386951
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Monal/Classes/IPC.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
Expand Down

0 comments on commit 1386951

Please sign in to comment.