Fixed bug where laravel is generating error log from outside of application classes.