Fix critical path catch blocks

This commit is contained in:
gpt-engineer-app[bot]
2025-10-21 15:32:01 +00:00
parent 05ba99e368
commit 5e789c7b4b
14 changed files with 33 additions and 33 deletions

View File

@@ -67,7 +67,7 @@ export function EntityMultiImageUploader({
if (image.isLocal && image.url.startsWith('blob:')) {
try {
URL.revokeObjectURL(image.url);
} catch (error) {
} catch (error: unknown) {
console.error('Error revoking object URL:', error);
}
}
@@ -105,7 +105,7 @@ export function EntityMultiImageUploader({
banner_assignment: bannerIndex >= 0 ? bannerIndex : null,
card_assignment: cardIndex >= 0 ? cardIndex : null,
});
} catch (error) {
} catch (error: unknown) {
console.error('Failed to load entity photos:', error);
toast({
title: 'Error',