Better configuration error handling