Removed debug statements left in by accident.

This commit is contained in:
Jon Meredith 2009-05-29 13:49:49 -06:00
parent a3462d0fa7
commit 9361739244

View file

@ -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;