Attachment: show dl issues on console

This commit is contained in:
Enrico Ros
2025-12-05 11:15:15 -08:00
parent 0b7154a14c
commit e6658df123
@@ -141,6 +141,7 @@ export async function attachmentLoadInputAsync(source: Readonly<AttachmentDraftS
} else
edit({ inputError: 'No content or file found at this link' });
} catch (error: any) {
console.log('[DEV] Issue downloading page for attachment:', { error });
edit({ inputError: `Issue downloading page: ${error?.message || (typeof error === 'string' ? error : JSON.stringify(error))}` });
}
break;