Skip to content

Commit

Permalink
- Add extra "(empty/null)" info to error message
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaBear84 committed Nov 5, 2023
1 parent d75f8a4 commit 4e234e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenDirectoryDownloader/OpenDirectoryIndexer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ private async Task ProcessWebDirectoryAsync(string threadName, WebDirectory webD

if (httpResponseMessage is null)
{
throw new Exception($"Error retrieving directory listing for {webDirectory.Url}");
throw new Exception($"Error retrieving directory listing (empty/null) for {webDirectory.Url}");
}

if (!HttpClient.DefaultRequestHeaders.Contains("Referer"))
Expand Down

0 comments on commit 4e234e0

Please sign in to comment.