Skip to content

Commit 6c84ec0

Browse files
author
ttt161
committed
add logs
1 parent 30432bd commit 6c84ec0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

apps/hellgate/src/hg_payment_tool.erl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ try_get_payment_service_w_ref(Ref, Revision) ->
3030

3131
-spec has_any_payment_method(t(), ordsets:ordset(method())) -> boolean().
3232
has_any_payment_method(PaymentTool, SupportedMethods) ->
33+
Method = get_method(PaymentTool),
34+
logger:warning("validate payment tool args. Method: ~p . Supported: ~p", [Method, SupportedMethods]),
3335
ordsets:is_element(get_method(PaymentTool), SupportedMethods).
3436

3537
-spec get_method(t()) -> method().

0 commit comments

Comments
 (0)