This commit is contained in:
2020-12-15 17:30:33 +08:00
parent 0281b4c197
commit f30c41fa97
+1 -1
View File
@@ -104,7 +104,7 @@ class OnHandshake extends Callback
}
return $node->dispatch($request, $response);
} catch (\Throwable $exception) {
$this->addError($exception->getMessage());
$this->addError($exception->getMessage() . ' ' . $exception->getFile() . ' ' . $exception->getLine());
return $this->disconnect($response, 500);
} finally {
$this->eventTrigger($request, $response);