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 09353b4 commit 16e2c77Copy full SHA for 16e2c77
lib/SolidPubSub.php
@@ -23,7 +23,7 @@ public function send($path, $type) {
23
$client->addHeader("Sec-WebSocket-Protocol", "solid-0.1");
24
try {
25
$client->text("pub $path\n");
26
- } catch (\WebSocket\Exception $exception) {
+ } catch (\Throwable $exception) {
27
throw new \Exception('Could not write to pubsub server', 502, $exception);
28
}
29
0 commit comments