@rayondigital/nest-dapr 0.9.36 → 0.9.37
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.
|
@@ -134,7 +134,12 @@ let DaprPubSubClient = DaprPubSubClient_1 = class DaprPubSubClient {
|
|
|
134
134
|
}
|
|
135
135
|
if (fireAndForget) {
|
|
136
136
|
setTimeout(() => __awaiter(this, void 0, void 0, function* () {
|
|
137
|
-
|
|
137
|
+
try {
|
|
138
|
+
yield this.daprClient.pubsub.publish(name, topic, payload, options);
|
|
139
|
+
}
|
|
140
|
+
catch (error) {
|
|
141
|
+
yield this.handleError([{ producerId, name, topic, payload, metadata }], error);
|
|
142
|
+
}
|
|
138
143
|
}));
|
|
139
144
|
return;
|
|
140
145
|
}
|
package/package.json
CHANGED