Open-source document signature platform. Not affiliated with DocuSign.
TypeScript
Keep the draft link on a row whose processing save fails
Matt Van Horn754226bb3806
diff --git a/src/lib/bulk-send.ts b/src/lib/bulk-send.tsindex 2575623..affc44f 100644--- a/src/lib/bulk-send.ts+++ b/src/lib/bulk-send.ts@@ -543,6 +543,8 @@ async function sendOneRow({ database, storageService },);+ progress.envelopeId = draft.envelopeId;+try {await saveBatchRow(batch,@@ -559,6 +561,7 @@ async function sendOneRow(database,storageService,}).catch(() => undefined);+ progress.envelopeId = null;}throw error;