This commit is contained in:
2021-02-20 15:45:48 +08:00
parent 2db6b501a9
commit b85e5683d0
11 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ class OnHandshake extends Callback
}
return $node->dispatch($request, $response);
} catch (\Throwable $exception) {
$this->addError($exception->getMessage() . ' ' . $exception->getFile() . ' ' . $exception->getLine());
$this->addError($exception);
return $this->disconnect($response, 500);
}
}