Improve error messages in Database and TablesDB adapters

Co-authored-by: Meldiron <19310830+Meldiron@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]andMeldiron committed 2026-01-05 21:03:22 +00:00
1 parent 14ccf84d23
commit 2694a0a769
2 files changed
+2 -2

No files matched your search

@@ -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 {
+1 -1
View File
@@ -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 {