aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/http_client/httpc_handler.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2012-09-24 14:28:02 +0200
committerRaimo Niskanen <[email protected]>2012-10-02 09:25:02 +0200
commit03b748a502a966e9ba0e2349a7dddd5f4f149297 (patch)
treebc01df4bdb4be5f4bd547758f5a69c6021acf75d /lib/inets/src/http_client/httpc_handler.erl
parent9c85ee8b61c24587a228b3644c37b1b4fdfb7dcb (diff)
downloadotp-03b748a502a966e9ba0e2349a7dddd5f4f149297.tar.gz
otp-03b748a502a966e9ba0e2349a7dddd5f4f149297.tar.bz2
otp-03b748a502a966e9ba0e2349a7dddd5f4f149297.zip
inets: Dialyzer fixes
Diffstat (limited to 'lib/inets/src/http_client/httpc_handler.erl')
-rw-r--r--lib/inets/src/http_client/httpc_handler.erl8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/inets/src/http_client/httpc_handler.erl b/lib/inets/src/http_client/httpc_handler.erl
index 6e164cb213..784a9c0019 100644
--- a/lib/inets/src/http_client/httpc_handler.erl
+++ b/lib/inets/src/http_client/httpc_handler.erl
@@ -142,8 +142,12 @@ stream_next(Pid) ->
%% Used for debugging and testing
%%--------------------------------------------------------------------
info(Pid) ->
- call(info, Pid).
-
+ try
+ call(info, Pid)
+ catch
+ _:_ ->
+ []
+ end.
%%--------------------------------------------------------------------
%% Function: stream(BodyPart, Request, Code) -> _