@shushed/helpers 0.0.50 → 0.0.52
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 +2 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -959,14 +959,11 @@ var PubSubHelper = class extends Runtime {
|
|
|
959
959
|
}
|
|
960
960
|
if (subscription && nextMetadata) {
|
|
961
961
|
try {
|
|
962
|
-
|
|
962
|
+
return null;
|
|
963
963
|
} catch (err) {
|
|
964
|
-
|
|
965
|
-
console.error("Invariant: While updating subscription - " + err.message + ` - ${this.pubSub.projectId} - ${subscriptionName} - ${JSON.stringify(nextMetadata)}`);
|
|
966
|
-
}
|
|
964
|
+
console.error("Invariant: While updating subscription - " + err.message + ` - ${this.pubSub.projectId} - ${subscriptionName} - ${JSON.stringify(nextMetadata)}`);
|
|
967
965
|
throw new Error("Invariant: While updating subscription - " + err.message);
|
|
968
966
|
}
|
|
969
|
-
return null;
|
|
970
967
|
}
|
|
971
968
|
return nextMetadata;
|
|
972
969
|
}
|