do not log if there is no error