Add comments about error logging