We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 631af0e commit e03ba67Copy full SHA for e03ba67
1 file changed
apps/epp_proxy/src/epp_tcp_worker.erl
@@ -72,6 +72,8 @@ handle_cast(process_command,
72
#invalid_frame{message = Message, code = Code,
73
cl_trid = ClTRID} ->
74
Command = "error",
75
+ lager:error("The following frame is erroneous: [~p]~n",
76
+ [RawFrame]),
77
Request = epp_http_client:request_builder(#{command =>
78
Command,
79
session_id => SessionId,
@@ -161,6 +163,8 @@ log_on_timeout(State) ->
161
163
%% Get status, XML record, command and clTRID if defined.
162
164
%% Otherwise return an invalid frame with predefined error message and code.
165
parse_frame(Frame) ->
166
+ lager:info("Got the following frame to parse: [~p]~n",
167
+ [Frame]),
168
ClTRID = epp_xml:find_cltrid(Frame),
169
case epp_xml:parse(Frame) of
170
{ok, XMLRecord} ->
0 commit comments