Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f341cc2 commit e784527Copy full SHA for e784527
src/Logging/LogWatcher.php
@@ -19,7 +19,11 @@ public function register(): void
19
'context' => $message->context,
20
];
21
22
- $this->client->post('debug/log', $payload);
+ try {
23
+ $this->client->post('debug/log', $payload);
24
+ } catch (\Throwable $e) {
25
+ // The server might not be running, or the connection could fail, hiding the error.
26
+ }
27
});
28
}
29
0 commit comments