Skip to content

Commit 639f3b1

Browse files
committed
Revert "Adds debug logging for invalid card error"
This reverts commit 4d69e73.
1 parent 4d69e73 commit 639f3b1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

apps/wapi/src/wapi_payres_handler.erl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,7 @@ validate_card_data(CardData, ExtraCardData, SessionData, PaymentSystem, WoodyCon
217217
case bankcard_validator:validate(BankCardData, PaymentSystem, ValidationEnv, WoodyContext) of
218218
ok ->
219219
ok;
220-
{error, Error} ->
221-
%% FIXME/DEBUG Remove this log line
222-
ok = logger:warning("Invalid card ~p, payment system ~p, extras ~p, error: ~p", [
223-
CardData, PaymentSystem, ExtraCardData, Error
224-
]),
220+
{error, _Error} ->
225221
wapi_handler:throw_result(
226222
wapi_handler_utils:reply_ok(
227223
422,

0 commit comments

Comments
 (0)