Print error details to file
If I run a wrong line, in the listener I can see the error details.
But if the wrong line is under a Try function, the listener doesn't show me the error.
Using throw() solve this problem showing the error details in the listener... but if I want to print the error details to file?
I know that I can use getCurrentException() inside a catch, but it returns only the Exception, not all the details of the error.
Someone can help me, please?