This commit is contained in:
2020-11-06 16:47:17 +08:00
parent 0171e39c70
commit fa4b733ea3
11 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ class OnMessage extends Callback
}
$events = $manager->getName(AWebsocket::MESSAGE, [null, null, $frame->data['route']]);
$manager->runWith($events, [$frame, $server]);
} catch (\Exception $exception) {
} catch (\Throwable $exception) {
$this->addError($exception->getMessage(), 'websocket');
$server->send($frame->fd, $exception->getMessage());
} finally {