fix: Remove try/catch statements without error argument (#6370)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user