diff --git a/src/Abuse/Adapters/TimeLimit/Appwrite/TablesDB.php b/src/Abuse/Adapters/TimeLimit/Appwrite/TablesDB.php index 84223a0ad0..89db961696 100644 --- a/src/Abuse/Adapters/TimeLimit/Appwrite/TablesDB.php +++ b/src/Abuse/Adapters/TimeLimit/Appwrite/TablesDB.php @@ -298,7 +298,7 @@ class TablesDB extends TimeLimit if (!is_null($data)) { $this->tablesDB->updateRow($this->databaseId, self::TABLE_ID, $data['$id'], ['count' => $value]); } else { - throw new \Exception('Document Not Found'); + throw new \Exception('Unable to find abuse tracking row after race condition handling'); } } } else { diff --git a/src/Abuse/Adapters/TimeLimit/Database.php b/src/Abuse/Adapters/TimeLimit/Database.php index 19539c0767..2e7648830a 100644 --- a/src/Abuse/Adapters/TimeLimit/Database.php +++ b/src/Abuse/Adapters/TimeLimit/Database.php @@ -260,7 +260,7 @@ class Database extends TimeLimit 'count' => $value, ])); } else { - throw new \Exception('Document Not Found'); + throw new \Exception('Unable to find abuse tracking document after race condition handling'); } } } else {