Remove debug console logs

This commit is contained in:
gpt-engineer-app[bot]
2025-10-21 15:51:53 +00:00
parent 5e789c7b4b
commit d78356e673
26 changed files with 37 additions and 156 deletions

View File

@@ -1089,10 +1089,12 @@ export async function editSubmissionItem(
currentItem.submission_id,
true // isEdit = true
);
console.log(`✅ Created version for manual edit of ${currentItem.item_type} ${currentItem.approved_entity_id}`);
} catch (versionError) {
console.error('Failed to create version for manual edit:', versionError);
logger.error('Failed to create version for manual edit', {
action: 'create_version_for_edit',
itemType: currentItem.item_type,
entityId: currentItem.approved_entity_id
});
// Don't fail the entire operation, just log the error
// The edit itself is still saved, just without version history
}