@powerhousedao/reactor-browser 6.0.0-dev.248 → 6.0.0-dev.249

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -228,7 +228,7 @@ async function addDocument(driveId, name, documentType, parentFolder, document,
228
228
  newDoc = await reactorClient.drives.addFile(driveId, newDocument, parentFolder);
229
229
  } catch (e) {
230
230
  logger.error("Error adding document", e);
231
- throw new Error("There was an error adding document");
231
+ throw new Error("There was an error adding document", { cause: e });
232
232
  }
233
233
  return {
234
234
  id: newDoc.header.id,