private static void OnException(ServiceExceptionArgs args)
        {
            using var scope = DIContainer.Current.BeginLifetimeScope();

            // Exception processing
        }
 private static void OnException(ServiceExceptionArgs args) => Trace.WriteLine(args.Exception.Message);