why not log the error?