File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
diagnostics/Elsa.Logging.Core/Providers
scheduling/Elsa.Scheduling.Quartz Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,12 @@ public Task<IEnumerable<ILogSink>> GetLogSinksAsync(CancellationToken cancellati
4646 private IEnumerable < ILogSink > GetLogSinks ( )
4747 {
4848 var json = _configuration . GetSectionAsJson ( "LoggingFramework:Sinks" ) ;
49+
50+ if ( string . IsNullOrWhiteSpace ( json ) )
51+ return [ ] ;
52+
4953 var specs = JsonSerializer . Deserialize < List < LogSinkEnvelope > > ( json , _jsonSerializerOptions ) ;
50-
54+
5155 if ( specs == null )
5256 return [ ] ;
5357
Original file line number Diff line number Diff line change 2020 </ItemGroup >
2121
2222 <ItemGroup Label =" Elsa" Condition =" '$(UseProjectReferences)' != 'true'" >
23+ <PackageReference Include =" Elsa.Resilience" />
2324 <PackageReference Include =" Elsa.Scheduling" />
2425 <PackageReference Include =" Elsa.Resilience" />
2526 </ItemGroup >
2627
2728 <ItemGroup Label =" Elsa" Condition =" '$(UseProjectReferences)' == 'true'" >
29+ <ProjectReference Include =" ..\..\..\..\..\elsa-core\src\modules\Elsa.Resilience\Elsa.Resilience.csproj" />
2830 <ProjectReference Include =" ..\..\..\..\..\elsa-core\src\modules\Elsa.Scheduling\Elsa.Scheduling.csproj" />
2931 <ProjectReference Include =" ..\..\..\..\..\elsa-core\src\modules\Elsa.Resilience\Elsa.Resilience.csproj" />
3032 </ItemGroup >
You can’t perform that action at this time.
0 commit comments