diff options
author | Ingela Anderton Andin <ingela@erlang.org> | 2012-09-24 14:28:02 +0200 |
---|---|---|
committer | Raimo Niskanen <raimo@erlang.org> | 2012-10-02 09:25:02 +0200 |
commit | 03b748a502a966e9ba0e2349a7dddd5f4f149297 (patch) | |
tree | bc01df4bdb4be5f4bd547758f5a69c6021acf75d /lib/inets/src/http_client/httpc_handler.erl | |
parent | 9c85ee8b61c24587a228b3644c37b1b4fdfb7dcb (diff) | |
download | otp-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.erl | 8 |
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) -> _ |