Output more error logs on failure