Provide "current" link in HTML source errors to help w/ troubleshooting

This commit is contained in:
Imran Remtulla
2025-02-22 19:24:00 -05:00
parent e135476d86
commit a3c2761aba

View File

@ -313,7 +313,7 @@ class HTML extends AppSource {
await sourceRequest(currentUrl, additionalSettings), await sourceRequest(currentUrl, additionalSettings),
additionalSettings['intermediateLink'][i]); additionalSettings['intermediateLink'][i]);
if (intLinks.isEmpty) { if (intLinks.isEmpty) {
throw NoReleasesError(); throw NoReleasesError(note: currentUrl);
} else { } else {
currentUrl = intLinks.last.key; currentUrl = intLinks.last.key;
} }
@ -329,7 +329,7 @@ class HTML extends AppSource {
links = filterApks(links, additionalSettings['apkFilterRegEx'], links = filterApks(links, additionalSettings['apkFilterRegEx'],
additionalSettings['invertAPKFilter']); additionalSettings['invertAPKFilter']);
if (links.isEmpty) { if (links.isEmpty) {
throw NoReleasesError(); throw NoReleasesError(note: currentUrl);
} }
} else { } else {
links = [MapEntry(currentUrl, currentUrl)]; links = [MapEntry(currentUrl, currentUrl)];