aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/test
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2012-07-20 10:14:09 +0200
committerMicael Karlberg <[email protected]>2012-07-20 10:14:09 +0200
commit3d639df53de38e398a208f4f57cc9a7969733c63 (patch)
tree65e2dc476e6f2f4a58350da106660510b2b10ca8 /lib/inets/test
parent84f2859757a7fbf3d1280648f995e0a7d0e0754b (diff)
downloadotp-3d639df53de38e398a208f4f57cc9a7969733c63.tar.gz
otp-3d639df53de38e398a208f4f57cc9a7969733c63.tar.bz2
otp-3d639df53de38e398a208f4f57cc9a7969733c63.zip
Improved debug printouts
Diffstat (limited to 'lib/inets/test')
-rw-r--r--lib/inets/test/inets_test_lib.erl8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/inets/test/inets_test_lib.erl b/lib/inets/test/inets_test_lib.erl
index 4ec8a6002f..ef6529025f 100644
--- a/lib/inets/test/inets_test_lib.erl
+++ b/lib/inets/test/inets_test_lib.erl
@@ -543,12 +543,14 @@ connect(ip_comm, Host, Port, Opts, Type) ->
(Reason =:= enetunreach) orelse
(Reason =:= econnrefused) orelse
(Reason =:= ehostunreach))) ->
- tsp("connect error ~w when"
- "~n Opts: ~p", [Reason, Opts]),
+ tsp("connect(ip_comm) -> Connect error: "
+ "~n Reason: ~p"
+ "~n Type: ~p"
+ "~n Opts: ~p", [Reason, Type, Opts]),
connect(ip_comm, Host, Port, Opts -- [inet6], inet);
Error ->
- tsp("connect(ip_conn) -> Fatal connect error: "
+ tsp("connect(ip_comm) -> Fatal connect error: "
"~n Error: ~p"
"~nwhen"
"~n Host: ~p"