nette/nette — pull request #1218 by enumag (2013-08-28 23:38:47+00:00)
Title: Fixed catchExceptions option in debug mode

As of now this has no effect in debug mode:
```yml
nette:
application:
catchExceptions: true
```
It is because the default value is applied regardless of the actual neon setting. This means setting catchExceptions to false in production mode does not work either. I'd like to test ErrorPresenter in debug mode so I want to turn it on.

There is one other thing in this commit. I'm quite aware that the `%productionMode%` parameter I used is deprecated. But I'd like you to reconsider that because it is quite useful as default value for cases like this one. Of course it can be solved by other means but those just doesn't look so cool. If you want to leave it deprecated, I'd like one of these or sth similar to work:
```php
'catchExceptions' => 'not(%debugMode%)'
'catchExceptions' => '!%debugMode%'
```