-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Stacktrace and debugging #100
Comments
We might be able to do that, I think @danog hacked something for his coroutine implementation. |
I did exactly that in my coroutine runtime: https://github.com/danog/MadelineProto/blob/master/src/danog/MadelineProto/Coroutine.php#L252 |
any further update? |
Fibers will solve this in PHP 8.1+. |
Closing this as I believe the original question has been answered. There's not much we can do about stack traces with Amp v2. Hopefully this will be much better with Amp v3 and fibers. |
Hi!
Is there a way to get a location where a query was called when QueryError occurs?
For example
Produces error:
Line 20, where the query was actually called, not present in stacktrace.
Thank you.
The text was updated successfully, but these errors were encountered: