fix: Remove try/catch statements without error argument (#6370)

This commit is contained in:
Tom Moor
2024-01-10 08:02:44 -08:00
committed by GitHub
parent 870c623601
commit 22c52f84c5
5 changed files with 8 additions and 8 deletions

View File

@@ -98,7 +98,7 @@ export default class TextHelper {
// Skip attempting to fetch images that are not valid urls
try {
new URL(image.src);
} catch {
} catch (_e) {
return;
}