mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
minor cleanup
This commit is contained in:
@@ -45,7 +45,6 @@ namespace OpenSim.Framework
|
||||
|
||||
[SerializableAttribute]
|
||||
[ComVisibleAttribute(false)]
|
||||
[HostProtectionAttribute(SecurityAction.LinkDemand, Synchronization = true, ExternalThreading = true)]
|
||||
public class Lazy<T>
|
||||
{
|
||||
T value;
|
||||
|
||||
@@ -2156,7 +2156,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
|
||||
// We want this exception to halt the entire server since in current configurations we aren't too
|
||||
// useful without inbound HTTP.
|
||||
throw e;
|
||||
throw;
|
||||
}
|
||||
|
||||
m_requestsProcessedStat = new Stat(
|
||||
|
||||
@@ -993,7 +993,7 @@ namespace OpenSim.Framework
|
||||
catch (Exception e)
|
||||
{
|
||||
m_log.InfoFormat("[FORMS]: Error creating {0} request to : {1}. Request: {2}", verb, requestUrl, e.Message);
|
||||
throw e;
|
||||
throw;
|
||||
}
|
||||
|
||||
int sendlen = 0;
|
||||
@@ -1015,7 +1015,7 @@ namespace OpenSim.Framework
|
||||
catch (Exception e)
|
||||
{
|
||||
m_log.InfoFormat("[FORMS]: Error sending {0} request to: {1}. {2}", verb,requestUrl, e.Message);
|
||||
throw e;
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1036,7 +1036,7 @@ namespace OpenSim.Framework
|
||||
catch (Exception e)
|
||||
{
|
||||
m_log.InfoFormat("[FORMS]: Error receiving response from {0}: {1}.", requestUrl, e.Message);
|
||||
throw e;
|
||||
throw;
|
||||
}
|
||||
|
||||
int tickdiff = Util.EnvironmentTickCountSubtract(tickstart);
|
||||
@@ -1091,7 +1091,7 @@ namespace OpenSim.Framework
|
||||
catch (Exception e)
|
||||
{
|
||||
m_log.InfoFormat("[FORMS]: Error creating POST request to {0}: {1}", requestUrl, e.Message);
|
||||
throw e;
|
||||
throw;
|
||||
}
|
||||
|
||||
byte[] data = Util.UTF8NBGetbytes(obj);
|
||||
@@ -1110,7 +1110,7 @@ namespace OpenSim.Framework
|
||||
catch (Exception e)
|
||||
{
|
||||
m_log.InfoFormat("[FORMS]: Error sending POST request to {0}: {1}", requestUrl, e.Message);
|
||||
throw e;
|
||||
throw;
|
||||
}
|
||||
|
||||
string respstring = String.Empty;
|
||||
@@ -1129,7 +1129,7 @@ namespace OpenSim.Framework
|
||||
catch (Exception e)
|
||||
{
|
||||
m_log.InfoFormat("[FORMS]: Error receiving response from {0}: {1}", requestUrl, e.Message);
|
||||
throw e;
|
||||
throw;
|
||||
}
|
||||
|
||||
int tickdiff = Util.EnvironmentTickCountSubtract(tickstart);
|
||||
|
||||
Reference in New Issue
Block a user