@dasmeta/event-manager-platform-helper
Advanced tools
Comparing version 1.3.0 to 1.3.1
{ | ||
"name": "@dasmeta/event-manager-platform-helper", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Event platform helper", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -43,3 +43,3 @@ const { EventSubscriptionApi } = require("@dasmeta/event-manager-node-api"); | ||
if ((await api.eventSubscriptionsHasReachedMaxAttemptsGet(topic, subscription, eventId, eventInfo.maxAttempts))) { | ||
await api.eventSubscriptionsRecordFailurePost({ ...eventInfo, error }); | ||
await api.eventSubscriptionsRecordFailurePost({ ...eventInfo, error: { stack: error.stack, message: error.message } }); | ||
throw error; | ||
@@ -49,3 +49,3 @@ } | ||
} else { | ||
await api.eventSubscriptionsRecordFailurePost({ ...eventInfo, error }); | ||
await api.eventSubscriptionsRecordFailurePost({ ...eventInfo, error: { stack: error.stack, message: error.message } }); | ||
throw error; | ||
@@ -52,0 +52,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19427