You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the current implementation, we have mistakenly added support for having on-fail for transaction and retry based on #337 (comment).
We anyway can wrap transaction within a do-onfail to achieve the same behavior.
I was wondering whether it makes sense to have this sugaring for error handling of transaction blocks specifically.
Description:
Relates to https://ballerina.io/spec/lang/master/#stmt-with-on-fail
With the current implementation, we have mistakenly added support for having
on-fail
fortransaction
andretry
based on #337 (comment).We anyway can wrap
transaction
within ado-onfail
to achieve the same behavior.I was wondering whether it makes sense to have this sugaring for error handling of transaction blocks specifically.
Suggested Labels:
Code sample that shows issue:
Related Issues:
Raised a lang issue as the current implementation has a spec deviation
ballerina-platform/ballerina-lang#37315.
The text was updated successfully, but these errors were encountered: