ErrorHandler: pass exception by ref, fix for WARNING

Using default `ErrorHandler` raises WARNING:

```
WARNING: Parameter 1 to exceptionHandler() expected to be a reference, value given line: 131 file: vendor/monolog/monolog/src/Monolog/ErrorHandler.php
```

Passing Exception by reference fixes this issue.