Fix assert_msg for unformatted messages