From a3c2761aba9b7bfa7865386eb4a34724c42976b6 Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Sat, 22 Feb 2025 19:24:00 -0500 Subject: [PATCH] Provide "current" link in HTML source errors to help w/ troubleshooting --- lib/app_sources/html.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/app_sources/html.dart b/lib/app_sources/html.dart index 86d73e4..adf8068 100644 --- a/lib/app_sources/html.dart +++ b/lib/app_sources/html.dart @@ -313,7 +313,7 @@ class HTML extends AppSource { await sourceRequest(currentUrl, additionalSettings), additionalSettings['intermediateLink'][i]); if (intLinks.isEmpty) { - throw NoReleasesError(); + throw NoReleasesError(note: currentUrl); } else { currentUrl = intLinks.last.key; } @@ -329,7 +329,7 @@ class HTML extends AppSource { links = filterApks(links, additionalSettings['apkFilterRegEx'], additionalSettings['invertAPKFilter']); if (links.isEmpty) { - throw NoReleasesError(); + throw NoReleasesError(note: currentUrl); } } else { links = [MapEntry(currentUrl, currentUrl)];