Refactor: Implement full error logging

This commit is contained in:
gpt-engineer-app[bot]
2025-11-04 19:23:28 +00:00
parent 3d646ec6f7
commit 9bf5ea322e
20 changed files with 75 additions and 122 deletions

View File

@@ -96,7 +96,11 @@ export function ItemEditDialog({ item, items, open, onOpenChange, onComplete }:
const handlePhotoSubmit = async (caption: string, credit: string) => {
if (!item?.item_data) {
logger.error('No item data available for photo submission');
toast({
title: 'Error',
description: 'No photo data available',
variant: 'destructive',
});
return;
}