@etainabl/nodejs-sdk 1.3.157 → 1.3.158
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/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -9259,7 +9259,7 @@ async function handleError({ context, etnApi, automationRun, error, lambdaSource
|
|
|
9259
9259
|
companyId: automationRun.companyId
|
|
9260
9260
|
});
|
|
9261
9261
|
if (automationRun.category === "account" && accountId) {
|
|
9262
|
-
await etnApi.updateAccountStatusForAutomation(automation._id, accountId, { status: "error" });
|
|
9262
|
+
await etnApi.updateAccountStatusForAutomation(automation._id, accountId, { status: "error", error: error.message });
|
|
9263
9263
|
}
|
|
9264
9264
|
}
|
|
9265
9265
|
async function deleteMessage(queueUrl, receiptHandle, sqsClient) {
|