- The full stack trace is printed only because debug mode is turned on in your WebEngine configuration.
- Turn debug mode off on the live site so visitors only see a generic error.
- If credentials were already shown publicly, change the SQL login password.
- Keep debug mode for local testing only.
WebEngine shows a PDOException with my SQL Server host, user and password on screen when the database is down. How do I hide it?
“You have debug mode enable, that's why the website shows all error messages.”
In the issue, 2017-08-10 (original words)