Skip to content

Commit

Permalink
throw error when there are missing chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
pohhsu authored and BruceLin-MS committed Aug 25, 2023
1 parent 9b09060 commit 534ff70
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
17 changes: 0 additions & 17 deletions Properties/launchSettings.json

This file was deleted.

1 change: 1 addition & 0 deletions pipes/MultiFileStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ public async Task DownloadAsync(Stream stream, CancellationToken cancellationTok
else
{
_logger.LogWarning("Missing Chunk at time {time} for stream {stream}. Ignoring gap by skipping to next.", chunk, _trackPrefix);
throw new InvalidDataException("Unexpected missing chunk indicated by manifest is currently not supported");
}
}
_logger.LogDebug("Finished downloading track {prefix}", _trackPrefix);
Expand Down

0 comments on commit 534ff70

Please sign in to comment.