You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please make it possible to get the original exception from the ExceptionWrapper, currently Throwable $t is not stored in the wrapper anywhere, so it is not possible to obtain the original exception.
This is useful for people who put their own properties within custom exceptions.
My usecase is that I want to override the run method, to output the actual exceptions rather than just that an exception has been thrown to make debugging simpler.
I can override and get the exception, but all that is contained is the properties code, etc. Not the original exception which for me has a property errors for validation errors.
Thanks.
The text was updated successfully, but these errors were encountered:
@KamilKopaczyk I don't currently have the time to fix this, but if you want to take what I had as a starting point, i'm more than happy for that to happen.
Please make it possible to get the original exception from the ExceptionWrapper, currently
Throwable $t
is not stored in the wrapper anywhere, so it is not possible to obtain the original exception.This is useful for people who put their own properties within custom exceptions.
My usecase is that I want to override the
run
method, to output the actual exceptions rather than just that an exception has been thrown to make debugging simpler.I can override and get the exception, but all that is contained is the properties
code
, etc. Not the original exception which for me has a propertyerrors
for validation errors.Thanks.
The text was updated successfully, but these errors were encountered: