it always show error report e.g. connect to db failed and show the source code details.
Due to lazy rendering, fuel error report isn't showing correct stack. I have my own method to show the full stack but I cannot get rid of fuel error reporting...
If error_reporting is set to 0, the error handler will not report anything. If it is set to anything else then zero, it depends on the configuration of 'continue_on' in your app config file.
The exception handler always displays the error and the trace, unless you are running in the production environment.
If you issue is "it does not display the correct stack trace", do not work around it, but fix it and send a pull request, so it is fixed at the right place, and your fix will benefit others too.