Error catching
Add monolog