a tool for shared writing and social publishing

add even more logging

+5
+5
actions/publishToPublication.ts
··· 93 93 let blob = await agent.com.atproto.repo.uploadBlob(binary, { 94 94 headers: { "Content-Type": binary.type }, 95 95 }); 96 + if (!blob.success) { 97 + console.log(blob); 98 + console.log("Error uploading image: " + b.data.src); 99 + throw new Error("Failed to upload image"); 100 + } 96 101 imageMap.set(b.data.src, blob.data.blob); 97 102 } catch (e) { 98 103 console.error(e);