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 ->
|
||||
try Fun() of
|
||||
abort ->
|
||||
error_logger:info_msg("function requested abort"),
|
||||
ok = txn_abort(),
|
||||
{error, transaction_aborted};
|
||||
|
||||
|
@ -568,7 +567,6 @@ transaction(Fun, Retries, Opts) ->
|
|||
transaction(Fun, R);
|
||||
|
||||
_ : Reason ->
|
||||
error_logger:info_msg("function threw non-lock error - ~p", [Reason]),
|
||||
ok = txn_abort(),
|
||||
{error, {transaction_failed, Reason}}
|
||||
end;
|
||||
|
|
Loading…
Reference in a new issue