mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-03 03:52:55 +00:00
fix: do not log rate limit exceptions
This commit is contained in:
parent
b8c0c1f3b8
commit
1179b409dc
@ -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) {
|
foreach ($this->handlers as $handler) {
|
||||||
$handler([
|
$handler([
|
||||||
'name' => $this->name,
|
'name' => $this->name,
|
||||||
|
Loading…
Reference in New Issue
Block a user