log error not throw