Page MenuHomePhabricator

D5238.id17109.diff
No OneTemporary

D5238.id17109.diff

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> 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 {

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 2:13 AM (20 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2495895
Default Alt Text
D5238.id17109.diff (799 B)

Event Timeline