Fixed that SetFailState is being called before LogMessage