Better Debugging

This commit is contained in:
int2001
2026-01-07 07:50:00 +00:00
parent 2ce1636786
commit 8979ed4c0c
2 changed files with 1 additions and 1 deletions

View File

@@ -42,6 +42,7 @@ class API extends CI_Controller {
$result = $this->rate_limit->check($endpoint, $identifier);
if (!$result['allowed']) {
log_message("Debug","Rate limit for ".$endpoint." and ID:".($identifier ?? '')." exceeded");
$this->rate_limit->send_limit_exceeded_response($result['retry_after']);
return false;
}