mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-06-20 20:05:42 +02:00
fix: do not log rate limit exceptions (#4552)
This commit is contained in:
parent
b8c0c1f3b8
commit
d36b335725
1 changed files with 9 additions and 0 deletions
|
@ -79,6 +79,15 @@ final class SimpleLogger implements Logger
|
|||
}
|
||||
}
|
||||
|
||||
if (isset($context['e'])) {
|
||||
/** @var \Throwable $e */
|
||||
$e = $context['e'];
|
||||
|
||||
if ($e instanceof RateLimitException) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($this->handlers as $handler) {
|
||||
$handler([
|
||||
'name' => $this->name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue