diff --git a/native/cpp/CommonCpp/NativeModules/PersistentStorageUtilities/ThreadOperationsUtilities/ThreadOperations.cpp b/native/cpp/CommonCpp/NativeModules/PersistentStorageUtilities/ThreadOperationsUtilities/ThreadOperations.cpp --- a/native/cpp/CommonCpp/NativeModules/PersistentStorageUtilities/ThreadOperationsUtilities/ThreadOperations.cpp +++ b/native/cpp/CommonCpp/NativeModules/PersistentStorageUtilities/ThreadOperationsUtilities/ThreadOperations.cpp @@ -12,8 +12,9 @@ std::unique_ptr thread = DatabaseManager::getQueryExecutor().getThread(threadID); if (thread == nullptr) { - throw std::runtime_error( + Logger::log( "Attempted to update non-existing thread with ID: " + threadID); + return; } folly::dynamic updatedCurrentUser; try {