diff --git a/API/MangaDownloadClients/RequestResult.cs b/API/MangaDownloadClients/RequestResult.cs index b42cfba..ae9cec1 100644 --- a/API/MangaDownloadClients/RequestResult.cs +++ b/API/MangaDownloadClients/RequestResult.cs @@ -24,4 +24,10 @@ public struct RequestResult this.hasBeenRedirected = hasBeenRedirected; redirectedToUrl = redirectedTo; } + + public override string ToString() + { + return + $"{(int)statusCode} {statusCode.ToString()} {(hasBeenRedirected ? "Redirected: " : "")} {redirectedToUrl}"; + } } \ No newline at end of file