cakephp/app — pull request #175 by dereuromark (2014-11-14 03:46:25+00:00)
Title: Add file and line and more useful debug infos to error output.

With the internal error exception there is not much to go on with the current output.

File and Line was very important for me to add in order to actually find out what the problem is and where.
Before:
![error](https://cloud.githubusercontent.com/assets/39854/5041024/fabd5c0e-6bb8-11e4-8f84-b5beee187c71.png)
After:
![error2](https://cloud.githubusercontent.com/assets/39854/5041025/fc838edc-6bb8-11e4-89e6-ab7efefb5a80.png)

Also added the xdebug stracktrace here, as has been added to other error templates as well some sql debug output in case there is some.