/// <summary>
 ///     When overridden in a derived class, handles the exception synchronously.
 /// </summary>
 /// <param name="context">The exception handler context.</param>
 public override void Handle(ExceptionHandlerContext context)
 {
     if (context.Exception is FaultException <InvalidSessionFault> )
     {
         _gameDataProvider.ClearSession();
         //  _gameDataProvider.InitializeSession(context.RequestContext.Principal.Identity.Name);
     }
 }