diff options
author | Siri Hansen <[email protected]> | 2013-05-22 11:38:14 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2013-06-04 11:04:08 +0200 |
commit | a2a30c6e89249f4683d0d3359845eb4f9dacd0ec (patch) | |
tree | 993eae1c858072fb8cfd9b9f9fbd9721f52ae32b | |
parent | 007f058825d12f7ea642d8c5ed4d6dca44341a6c (diff) | |
download | otp-a2a30c6e89249f4683d0d3359845eb4f9dacd0ec.tar.gz otp-a2a30c6e89249f4683d0d3359845eb4f9dacd0ec.tar.bz2 otp-a2a30c6e89249f4683d0d3359845eb4f9dacd0ec.zip |
[ct_netconfc] Improve error printout
-rw-r--r-- | lib/common_test/src/ct_netconfc.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_netconfc.erl b/lib/common_test/src/ct_netconfc.erl index 1339e53780..28586c310e 100644 --- a/lib/common_test/src/ct_netconfc.erl +++ b/lib/common_test/src/ct_netconfc.erl @@ -1302,7 +1302,8 @@ handle_data(NewData,#state{connection=Connection,buff=Buff} = State) -> decode(Simple,State#state{buff=Rest}); {fatal_error,_Loc,Reason,_EndTags,_EventState} -> ?error(Connection#connection.name,[{parse_error,Reason}, - {data,Data}]), + {buffer,Buff}, + {new_data,NewData}]), case Reason of {could_not_fetch_data,Msg} -> handle_msg(Msg,State#state{buff = <<>>}); |