mirror of
https://github.com/C9Glax/tranga.git
synced 2025-10-11 13:19:48 +02:00
correct log output
This commit is contained in:
@@ -170,10 +170,10 @@ public class MangaPark : MangaConnector
|
||||
|
||||
if (!linkMatch.Success || !linkMatch.Groups[2].Success)
|
||||
{
|
||||
Log.Debug($"Not in standard Volume/Chapter format: {chapterNode.InnerText}");
|
||||
Log.Debug($"Not in standard Volume/Chapter format: {linkNode.InnerText}");
|
||||
if (Match(linkNode.InnerText, @"[^\d]*([\d\.]+)[^\d]*") is not { Success: true } match)
|
||||
{
|
||||
Log.Debug($"Unable to parse chapter-number: {chapterNode.InnerText}");
|
||||
Log.Debug($"Unable to parse chapter-number: {linkNode.InnerText}");
|
||||
throw new FormatException("Unable to parse chapter-number");
|
||||
}
|
||||
chapterNumber = match.Groups[1].Value;
|
||||
|
Reference in New Issue
Block a user