mirror of
https://github.com/orangecoding/fredy.git
synced 2026-06-16 12:31:07 +00:00
improve error handling
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user