-
Notifications
You must be signed in to change notification settings - Fork 22
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
Error occurred when playing against a computer #256
Comments
Thank you @Arturas1989 for opening this issue! Does the error occur frequently? And can it be replicated? |
@programarivm I only played it once and it occurred. The only replication of the error I know is manual :) Inspect the code responsible for playing with a computer and try to catch errors. |
Most probably this is because Workerman WebSockets were recently added and the recent changes were not pulled.
|
🙏 Thank you @Arturas1989, @CodeMaster7000 @d47081, @Mayank2001kh for the help on this issue, it is very much appreciated! Now all objects implementing the Throwable interface are being catched and logged in the |
I think this issue could be related with same problem as fixed here #233 (chesslablab/php-chess#442) |
The stack trace is not being logged.
Also at the moment only the command names are logged so it remains unknown which move exactly threw the exception.
It seems as if src/Variant/Classical/PGN/Move.php needs some fixing. |
The stack trace is being logged now. See #262 |
The WebSocket messages need to be logged. See #264 |
Opened discussion: |
Fixed bug chesslablab/php-chess#482 |
you know, I just found the reason of websocket connection error just in broken Ethernet wire :D pff, it was a long trip but finally we have fixed lot of bugs! |
An error occurred when I played against a computer.
The text was updated successfully, but these errors were encountered: