added error log in laravel

Signed-off-by: Sebastiano Mariani <seba0691@gmail.com>