Skip to content
This repository
Browse code

Vance Shipley patch to correct error handling in yaws_soap_lib

git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@1263 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
  • Loading branch information...
commit c4030ff0f08663382b06a0c3eb4cb5a7cdb289c4 1 parent 6f45c69
Claes Wikstrom authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 src/yaws_soap_lib.erl
4 src/yaws_soap_lib.erl
@@ -318,8 +318,8 @@ get_url_file("http://"++_ = URL) ->
318 318 {ok,{{_HTTP,RC,Emsg}, _Headers, _Body}} ->
319 319 error_logger:error_msg("~p: http-request got: ~p~n", [?MODULE, {RC, Emsg}]),
320 320 {error, "failed to retrieve: "++URL};
321   - _ ->
322   - error_logger:error_msg("~p: http-request failed~n", []),
  321 + {error, Reason} ->
  322 + error_logger:error_msg("~p: http-request failed: ~p~n", [?MODULE, Reason]),
323 323 {error, "failed to retrieve: "++URL}
324 324 end;
325 325 get_url_file("file://"++Fname) ->

0 comments on commit c4030ff

Please sign in to comment.
Something went wrong with that request. Please try again.