Fix exception message while try to set invalid session strategy.