log error in cmd runner