Change errors logs and display more information on error.