hutongqing
2024-11-01 2f75b4c0a67ccc3a443e7cc4f2f0f909defd9a92
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);
            }
        }