* Print out the exception stacks of resolution failures, temporarily

0.6.0-stable
Justin Clarke Casey 2008-03-25 20:05:02 +00:00
parent ed9cdbe99f
commit ad808579a2
2 changed files with 4 additions and 3 deletions

View File

@ -233,7 +233,7 @@ namespace OpenSim.Region.Communications.OGS1
} }
catch (SocketException e) catch (SocketException e)
{ {
m_log.WarnFormat("RequestNeighbours(): Lookup of neighbour {0} failed! Not including in neighbours list"); m_log.WarnFormat("RequestNeighbours(): Lookup of neighbour {0} failed! Not including in neighbours list. {1}", simIp, e);
continue; continue;
} }

View File

@ -288,11 +288,12 @@ namespace OpenSim.Region.Environment.Scenes
catch (Exception e) catch (Exception e)
{ {
m_log.ErrorFormat( m_log.ErrorFormat(
"[REGIONINFO]: Could not resolve external hostname {0} for region {1} ({2}, {3})", "[REGIONINFO]: Could not resolve external hostname {0} for region {1} ({2}, {3}). {4}",
neighbours[i].ExternalHostName, neighbours[i].ExternalHostName,
neighbours[i].RegionHandle, neighbours[i].RegionHandle,
neighbours[i].RegionLocX, neighbours[i].RegionLocX,
neighbours[i].RegionLocY); neighbours[i].RegionLocY,
e);
// FIXME: Okay, even though we've failed, we're still going to throw the exception on, // FIXME: Okay, even though we've failed, we're still going to throw the exception on,
// since I don't know what will happen if we just let the client continue // since I don't know what will happen if we just let the client continue