We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30432bd commit 6c84ec0Copy full SHA for 6c84ec0
1 file changed
apps/hellgate/src/hg_payment_tool.erl
@@ -30,6 +30,8 @@ try_get_payment_service_w_ref(Ref, Revision) ->
30
31
-spec has_any_payment_method(t(), ordsets:ordset(method())) -> boolean().
32
has_any_payment_method(PaymentTool, SupportedMethods) ->
33
+ Method = get_method(PaymentTool),
34
+ logger:warning("validate payment tool args. Method: ~p . Supported: ~p", [Method, SupportedMethods]),
35
ordsets:is_element(get_method(PaymentTool), SupportedMethods).
36
37
-spec get_method(t()) -> method().
0 commit comments