Removed debug statements left in by accident.
This commit is contained in:
parent
a3462d0fa7
commit
9361739244
1 changed files with 0 additions and 2 deletions
|
@ -548,7 +548,6 @@ transaction(Fun, Retries, Opts) ->
|
||||||
ok ->
|
ok ->
|
||||||
try Fun() of
|
try Fun() of
|
||||||
abort ->
|
abort ->
|
||||||
error_logger:info_msg("function requested abort"),
|
|
||||||
ok = txn_abort(),
|
ok = txn_abort(),
|
||||||
{error, transaction_aborted};
|
{error, transaction_aborted};
|
||||||
|
|
||||||
|
@ -568,7 +567,6 @@ transaction(Fun, Retries, Opts) ->
|
||||||
transaction(Fun, R);
|
transaction(Fun, R);
|
||||||
|
|
||||||
_ : Reason ->
|
_ : Reason ->
|
||||||
error_logger:info_msg("function threw non-lock error - ~p", [Reason]),
|
|
||||||
ok = txn_abort(),
|
ok = txn_abort(),
|
||||||
{error, {transaction_failed, Reason}}
|
{error, {transaction_failed, Reason}}
|
||||||
end;
|
end;
|
||||||
|
|
Loading…
Reference in a new issue