Skip to content

Commit 944a8e2

Browse files
committed
fix the log.
1 parent 1043a05 commit 944a8e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DevBetterWeb.Core/Services/CreateVideoService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public async Task<string> StartAsync(string videoName, long videoSize, string do
4747
var responseSessionId = await _uploadVideoTusService.StartAsync(uploadVideoRequest, cancellationToken);
4848
if (!responseSessionId.IsSuccess || string.IsNullOrEmpty(responseSessionId.Data))
4949
{
50-
_logger.LogError(new Exception(responseSessionId.Exception.Message), responseSessionId.Json);
50+
_logger.LogError(new Exception(responseSessionId.Exception?.Message), responseSessionId.Json);
5151
}
5252

5353
return responseSessionId.Data;

0 commit comments

Comments
 (0)