Update blocklist.ts
This commit is contained in:
@@ -59,7 +59,7 @@ export function isUrlBlocked(url: string): boolean {
|
|||||||
return isBlocked;
|
return isBlocked;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// If an error occurs (e.g., invalid URL), return false
|
// If an error occurs (e.g., invalid URL), return false
|
||||||
console.error(`Error processing URL: ${url}`, e);
|
console.error(`Error parsing the following URL: ${url}`);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user