```
sprintf('Uncaught Exception %s: "%s" at %s line %s', get_class($e), $e->getMessage(), $e->getFile(), $e->getLine())
```
might be more helpful.

Was about to submit exactly the same PR :)