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

Namespace issue when throwing exception in client disconnect #137

Open
IMN-MichaelL opened this issue Jul 19, 2021 · 1 comment
Open

Namespace issue when throwing exception in client disconnect #137

IMN-MichaelL opened this issue Jul 19, 2021 · 1 comment

Comments

@IMN-MichaelL
Copy link

Version: 2.0.11

Class 'Wrench\Exception' not found
Wrench\Client::disconnect at line 287

throw new Exception("Unexpected exception when sending Close frame.");
Should probably be:
throw new \Exception("Unexpected exception when sending Close frame.");

@GrahamCampbell
Copy link

GrahamCampbell commented Aug 15, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants