* Caught unhandled IOException, and outputted it to log.

0.6.1-post-fixes
lbsa71 2008-12-18 11:39:24 +00:00
parent eb777b7373
commit 68c53c6da0
1 changed files with 5 additions and 1 deletions

View File

@ -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);
}
}
}