Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNK committed Mar 25, 2024
1 parent 7cc529a commit e914f4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Aspire.Dashboard/Components/Controls/LogViewer.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ internal async Task SetLogSourceAsync(IAsyncEnumerable<IReadOnlyList<ResourceLog

foreach (var (lineNumber, content, isErrorOutput) in batch)
{
// Keep track of the base line number to ensure that we can calculate the line number of each log entry.
// This becomes important when the total number of log entries exceeds the limit and is truncated.
if (_baseLineNumber is null)
{
_baseLineNumber = lineNumber;
Expand Down

0 comments on commit e914f4f

Please sign in to comment.