Skip to content

Commit 3c21680

Browse files
committed
Fixed check for verbose log file
1 parent 916657b commit 3c21680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Services/UI/OJS.Services.Ui.Business/Implementations/SubmissionsBusinessService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ await this.transactionsProvider.ExecuteInTransaction(async () =>
505505
await this.submissionsForProcessingData.SetProcessingState(submissionForProcessing, SubmissionProcessingState.Processed);
506506
});
507507

508-
if (submissionExecutionResult.VerboseLogFile != null)
508+
if (submissionExecutionResult.VerboseLogFile is { Length: > 0 })
509509
{
510510
await this.fileIo.SaveFile(this.GetLogFilePath(submission.Id), submissionExecutionResult.VerboseLogFile);
511511
}

0 commit comments

Comments
 (0)