From 68c53c6da0ca449910f0b174261c6005ff3b535f Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Thu, 18 Dec 2008 11:39:24 +0000 Subject: * Caught unhandled IOException, and outputted it to log. --- OpenSim/Framework/Servers/BaseHttpServer.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'OpenSim/Framework/Servers') diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs index 5bf4480..40eaba5 100644 --- a/OpenSim/Framework/Servers/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/BaseHttpServer.cs @@ -789,10 +789,14 @@ namespace OpenSim.Framework.Servers response.OutputStream.Flush(); response.OutputStream.Close(); } + catch (IOException e) + { + m_log.DebugFormat("[BASE HTTP SERVER] LLSD IOException {0}.", e); + } catch (SocketException e) { // This has to be here to prevent a Linux/Mono crash - m_log.WarnFormat("[BASE HTTP SERVER] XmlRpcRequest issue {0}.\nNOTE: this may be spurious on Linux.", e); + m_log.WarnFormat("[BASE HTTP SERVER] LLSD issue {0}.\nNOTE: this may be spurious on Linux.", e); } } } -- cgit v1.1