Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose socket exception in logs #71

Merged
merged 1 commit into from
Mar 14, 2024
Merged

expose socket exception in logs #71

merged 1 commit into from
Mar 14, 2024

Conversation

ro0NL
Copy link
Contributor

@ro0NL ro0NL commented Mar 12, 2024

makes sure stack trace is available in logs

@@ -244,7 +244,7 @@ protected function getPayload(int $length): string

private function processException(Throwable $e)
{
$this->logger?->error($e->getMessage());
$this->logger?->error($e->getMessage(), ['exception' => $e]);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nekufa nekufa merged commit 968e34f into basis-company:main Mar 14, 2024
9 checks passed
@ro0NL ro0NL deleted the patch-1 branch March 14, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants