* oops, fix build break from last checkin

0.6.0-stable
Justin Clarke Casey 2008-08-05 20:50:53 +00:00
parent 200c77ad15
commit b018d6e84f
1 changed files with 2 additions and 2 deletions

View File

@ -321,12 +321,12 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
{
line = " at line " + Convert.ToInt32(t.Substring(colon + 6)).ToString();
}
catch (ArgumentOutOfRangeException e)
catch (ArgumentOutOfRangeException e2)
{
// FIXME: Big fat temporary patch to stop the Substring above throwing an exception
// and stopping a proper kill of the script. We're making an unwarranted assumption
// about the size of t. This needs to be fixed properly.
m_log.ErrorFormat("[SCRIPT ENGINE]: Line number conversion exception {0}", e);
m_log.ErrorFormat("[SCRIPT ENGINE]: Error line number conversion exception {0}", e2);
line = " at line (unavailable)";
}