You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function$somethingCallable = function(\Exception$e) : bool {
error_log($e);
// some clever logic here....returntrue; // return true so e.g. $rateLimit->check(...) returns true even if an exception occurred.
}
$rateLimit->setExceptionHandler($somethingCallable);
The text was updated successfully, but these errors were encountered:
So if the adapter throws an exception, we default to some sort of set behaviour
See also :
https://github.com/Seldaek/monolog/blob/39637a5d0e98068d98189ce48a87f3dd61455429/src/Monolog/Logger.php#L453
The text was updated successfully, but these errors were encountered: