aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_netconfc.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2013-06-04 11:06:18 +0200
committerSiri Hansen <[email protected]>2013-06-04 11:06:18 +0200
commita58a2987ab699b452dd1c95dca62147a827e7c7f (patch)
tree3377b88c5e204ab49bf88cabf4d9525955d4349d /lib/common_test/src/ct_netconfc.erl
parentc2151dec9f14707ccaba72cb065824ee61c064a5 (diff)
parente0e8b6d2c016d62c8ada8664ec4ba1ce291979d0 (diff)
downloadotp-a58a2987ab699b452dd1c95dca62147a827e7c7f.tar.gz
otp-a58a2987ab699b452dd1c95dca62147a827e7c7f.tar.bz2
otp-a58a2987ab699b452dd1c95dca62147a827e7c7f.zip
Merge branch 'siri/cuddle-with-tests' into maint
* siri/cuddle-with-tests: Delete 'icky' dirs and symlinks after kernel tests [ct_netconfc] Improve error printout Fix interactive_shell_SUITE to handle node name with quotes
Diffstat (limited to 'lib/common_test/src/ct_netconfc.erl')
-rw-r--r--lib/common_test/src/ct_netconfc.erl3
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 = <<>>});