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 exception information #252
Comments
Unfortunate wording of the demo. To log whatever you want, feel free to use a logging library, such as monolog. |
Whoops that explains.. this certainly is not self-evident. Perhaps this can be improved:
I am willing to implement this and pull request it, if the maintainers appreciate that. PS. Also, i wonder, can it show only the one fatal exception? What if multiple exceptions where catched? |
Unforunately, the project does not have manpower for important feature requests and some bugs, thus the ui improvements will certainly not happen unless somebody offers help.
I am confused as to why it should not be in the details pane.
I don't know what "fatal exception" means. But yes, the GUI of Whoops can only display one exception.
If you catch multiple exceptions, then you have them in your variables. I'm not sure what you expect Whoops to do about it. |
Thanks for your response.
Ok i'll explain my thoughts. So the stacktrace regards one exception. The details pane shows one item from the stacktrace. To me, showing the exception inside a details pane makes no sense. Its not as if it can differ per stacktrace item, or am i mistaken? The fact that its shown there (multiple times) strongly implies that it can differ per selected item on the left. It does scroll the exception out of view, which i took as some bug. That exception type is the sole main subject, so why hide it?
It depends on how you use exceptions ofcourse. |
When you put this way, I get it now. Yes, in that regard I agree, I found this part of the UI confusing from the beginning. By now I've seen it so much that I got used to it, but, yes, if I could, I'd move the exception message and type on the top spanning the entire page, and then the stack and frame details below it.
Well, awesome, use Monolog! How is this related to Whoops? The entire purpose of Whoops is to handle uncaught exceptions and provide a GUI to display a single exception. |
I was looking into the Whoops online demo, and i guess i dont understand it. There is all sorts of basic request and environment information but no clear:
And perhaps a feature request:
Also i'd expect this to allow custom log lists, not everything is a fatal exception.
For example i'd like to log unexpected values (bug nominations) and other assertions, certain state changes, or specific non-critical info.
The text was updated successfully, but these errors were encountered: