We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We have an Error in one of our views like this:
Call to a member function getSettings() on null
This is thrown as an Error which extends Throwable. The error handling in Smarty only catches Exception for cleaning the output buffer: https://github.com/smarty-php/smarty/blob/master/libs/sysplugins/smarty_internal_templatebase.php#L249
Error
Throwable
Exception
This messes up our error template output. I think you should catch Throwable on this point.
The text was updated successfully, but these errors were encountered:
By now, the link would be https://github.com/smarty-php/smarty/blob/support/3.1/libs/sysplugins/smarty_internal_templatebase.php#L249
Sorry, something went wrong.
clean output buffer for Throwable instead of just Exception
b32d17b
Fixes #514
e2e68b3
Successfully merging a pull request may close this issue.
We have an Error in one of our views like this:
Call to a member function getSettings() on null
This is thrown as an
Error
which extendsThrowable
. The error handling in Smarty only catchesException
for cleaning the output buffer:https://github.com/smarty-php/smarty/blob/master/libs/sysplugins/smarty_internal_templatebase.php#L249
This messes up our error template output. I think you should catch
Throwable
on this point.The text was updated successfully, but these errors were encountered: