-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
When an API request fails during archiving (core:archive), output the backtrace in the error message #8616
Comments
This should be only if triggered via There's eg this monolog handler: From https://github.com/Seldaek/monolog/blob/master/doc/02-handlers-formatters-processors.md :
|
yes, using
Not sure about
this sounds very interesting to log additional debug data, whenever an error has occured! 👍 Could we put this in new issue? (logging backtrace in |
Maybe not instead but at least on top. Even a backtrace is often not very helpful to debug those kinda issues... If it's too hard to access the log files then it shouldn't be too hard to have a "log viewer" in the UI |
+1
true, but without backtrace (and before you added the plugin name), it was even impossible ;-)
Seems very valuable to add this into LTS #7239 - how much work will it be do you think? |
depends on the scope ;) and which library/tool we can use for it... hard to estimate |
I'll temptatively move #7239 to 2.15.1 so we can at least think of the scope together - maybe we can KISS and then it'd be for sure high value to have in our LTS version :-) |
No work was done on this so I doubt a backtrace would be logged. And one can see something in LogViewer only if log to files or databases is enabled |
When an API request fails during archiving (core:archive), we currently display the plugin name that caused an error in the message. This helps finding out which plugin caused the failure.
In general, maybe we could make the error output even more verbose. Instead of just displaying the plugin name, could we also the full backtrace?
(afaik it used to work in this way few months ago, and was helpful in troubleshooting archiving issues.)
The text was updated successfully, but these errors were encountered: