Skip to content

Commit 42aefdb

Browse files
committed
Merge remote-tracking branch 'origin/release/3.6.0'
2 parents 7b7cd22 + fe1bcfa commit 42aefdb

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/modules/diagnostics/Elsa.Logging.Core/Providers/ConfigurationLogSinkProvider.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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

src/modules/scheduling/Elsa.Scheduling.Quartz/Elsa.Scheduling.Quartz.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@
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>

0 commit comments

Comments
 (0)