|
@@ -23,7 +23,7 @@ |
|
|
block discarded – undo |
|
23
|
23
|
header('404 Not Found', true, 404); |
|
24
|
24
|
} catch(\LunixREST\Exceptions\AccessDeniedException $e){ |
|
25
|
25
|
header('403 Access Denied', true, 403); |
|
26
|
|
- } catch(\LunixREST\Exceptions\ThrottleLimitExceededException $e){ |
|
|
26
|
+ } catch(\LunixREST\Exceptions\ThrottleLimitExceededException $e){ |
|
27
|
27
|
header('429 Too Many Requests', true, 429); |
|
28
|
28
|
} catch(Exception|Error $e){ |
|
29
|
29
|
header('500 Internal Server Error', true, 500); |
Please login to merge, or discard this patch.