* Terminate OpenSim startup if we cannot listen to the designated HTTP port
* This makes the problem much more obvious to the user, and OpenSim isn't that useful without inbound http anyway0.6.5-rc1
parent
7f8552fe63
commit
2176a80bcf
|
@ -1424,8 +1424,12 @@ namespace OpenSim.Framework.Servers
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
m_log.Warn("[HTTPD]: Error - " + e.Message);
|
m_log.Error("[HTTPD]: Error - " + e.Message);
|
||||||
m_log.Warn("Tip: Do you have permission to listen on port " + m_port + "," + m_sslport + "?");
|
m_log.Error("[HTTPD]: Tip: Do you have permission to listen on port " + m_port + ", " + m_sslport + "?");
|
||||||
|
|
||||||
|
// We want this exception to halt the entire server since in current configurations we aren't too
|
||||||
|
// useful without inbound HTTP.
|
||||||
|
throw e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue