laravel / tinker

Powerful REPL for the Laravel framework.
https://laravel.com/docs/artisan#tinker
MIT License
7.32k stars 130 forks source link

Error Handling in Tinker #107

Closed PaulBehrendtVentoro closed 4 years ago

PaulBehrendtVentoro commented 4 years ago

Description:

Error handler for Tinker is taken from psy/psysh:v0.10.4, instead using Laravel Framework's "src/Illuminate/Foundation/Bootstrap/HandleExceptions.php". This leads to me not noticing Bugs, that will throw an ErrorException in Production :laughing: Did not look this up, but i think that used to be different.

Steps To Reproduce:

trigger_error('notice', E_USER_NOTICE);

driesvints commented 4 years ago

This can easily be documented. Feel free to send in a pr to the docs! Thanks.