mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-13 13:26:43 +02:00
Provide "current" link in HTML source errors to help w/ troubleshooting
This commit is contained in:
@ -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)];
|
||||||
|
Reference in New Issue
Block a user