aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer
diff options
context:
space:
mode:
authorOren Hurvitz2013-12-19 10:51:57 +0200
committerOren Hurvitz2014-03-25 09:37:10 +0100
commitf90aee696abe713d81c14035dabf987e1118e729 (patch)
treed1a26066acf93302e13597d6ff0bb42e997cfb03 /OpenSim/Framework/Servers/HttpServer
parentImproved logging of HTTP requests (diff)
downloadopensim-SC_OLD-f90aee696abe713d81c14035dabf987e1118e729.zip
opensim-SC_OLD-f90aee696abe713d81c14035dabf987e1118e729.tar.gz
opensim-SC_OLD-f90aee696abe713d81c14035dabf987e1118e729.tar.bz2
opensim-SC_OLD-f90aee696abe713d81c14035dabf987e1118e729.tar.xz
Always throw an exception if MakeRequest (used for HTTP POST) fails. (Previously many exceptions were ignored)
Resolves http://opensimulator.org/mantis/view.php?id=6949
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
index 19231e1..ea7f195 100644
--- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
@@ -738,11 +738,11 @@ namespace OpenSim.Framework.Servers.HttpServer
738 } 738 }
739 catch (IOException e) 739 catch (IOException e)
740 { 740 {
741 m_log.Error(String.Format("[BASE HTTP SERVER]: HandleRequest() threw {0} ", e.StackTrace), e); 741 m_log.Error("[BASE HTTP SERVER]: HandleRequest() threw exception ", e);
742 } 742 }
743 catch (Exception e) 743 catch (Exception e)
744 { 744 {
745 m_log.Error(String.Format("[BASE HTTP SERVER]: HandleRequest() threw {0} ", e.StackTrace), e); 745 m_log.Error("[BASE HTTP SERVER]: HandleRequest() threw exception ", e);
746 try 746 try
747 { 747 {
748 byte[] buffer500 = SendHTML500(response); 748 byte[] buffer500 = SendHTML500(response);