diff options
author | Micael Karlberg <[email protected]> | 2012-07-20 10:14:09 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2012-07-20 10:14:09 +0200 |
commit | 3d639df53de38e398a208f4f57cc9a7969733c63 (patch) | |
tree | 65e2dc476e6f2f4a58350da106660510b2b10ca8 | |
parent | 84f2859757a7fbf3d1280648f995e0a7d0e0754b (diff) | |
download | otp-3d639df53de38e398a208f4f57cc9a7969733c63.tar.gz otp-3d639df53de38e398a208f4f57cc9a7969733c63.tar.bz2 otp-3d639df53de38e398a208f4f57cc9a7969733c63.zip |
Improved debug printouts
-rw-r--r-- | lib/inets/test/inets_test_lib.erl | 8 |
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" |