hutongqing
2024-11-27 7ff298c6834275b63b612af49651673689a39660
WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/QuartzNet/JobFactory.cs
@@ -46,14 +46,14 @@
        {
            try
            {
                Console.Out.WriteLine(1);
                IServiceScope serviceScope = _serviceProvider.CreateScope();
                IJob? job = serviceScope.ServiceProvider.GetService(bundle.JobDetail.JobType) as IJob;
                return job;
            }
            catch (Exception)
            catch (Exception ex)
            {
                throw;
                Console.Out.WriteLine(ex.ToString());
                throw new Exception(ex.Message);
            }
        }