improve error handling

This commit is contained in:
orangecoding
2025-09-22 09:56:52 +02:00
parent 2d60b5c970
commit f1f6765909

View File

@@ -86,9 +86,8 @@ export default async function runActiveChecker(opts = {}) {
let result; let result;
try { try {
result = await tester(link); result = await tester(link);
} catch (err) { } catch {
logger.warn('activeTester failed for', listingProviderId, link, err); result = -1;
return;
} }
if (result === 0 && id) { if (result === 0 && id) {