@causa/runtime-google 1.5.2 → 1.5.3
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.
|
@@ -316,9 +316,7 @@ let SpannerEntityManager = class SpannerEntityManager {
|
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
catch (error) {
|
|
319
|
-
|
|
320
|
-
// Otherwise, the error should be converted.
|
|
321
|
-
throw transaction ? error : (convertSpannerToEntityError(error) ?? error);
|
|
319
|
+
throw convertSpannerToEntityError(error) ?? error;
|
|
322
320
|
}
|
|
323
321
|
finally {
|
|
324
322
|
snapshot?.end();
|