this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: surface blob upload errors instead of swallowing them silently

+7 -2
+7 -2
packages/remanso-cli/src/lib/note.ts
··· 86 86 mimeType, 87 87 size: imageBuffer.byteLength, 88 88 }; 89 - } catch {} 89 + } catch (error) { 90 + console.error(`Error uploading blob ${filePath}:`, error); 91 + } 90 92 } 91 93 return undefined; 92 94 } ··· 120 122 imagesDir, 121 123 ); 122 124 blob = await uploadBlob(agent, candidates); 123 - if (!blob) continue; 125 + if (!blob) { 126 + console.warn(`Could not upload image: ${src} (checked: ${candidates.join(", ")})`); 127 + continue; 128 + } 124 129 uploadCache.set(src, blob); 125 130 } 126 131