mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
getting all our line endings consistant again
This commit is contained in:
@@ -24,35 +24,35 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenSim.Grid.ScriptServer
|
||||
{
|
||||
class OpenScript_Main
|
||||
{
|
||||
|
||||
public static ScriptServerMain SE;
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
// Application is starting
|
||||
SE = new ScriptServerMain();
|
||||
|
||||
System.AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
|
||||
}
|
||||
|
||||
static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
|
||||
{
|
||||
Console.WriteLine("");
|
||||
Console.WriteLine("APPLICATION EXCEPTION DETECTED");
|
||||
Console.WriteLine("");
|
||||
Console.WriteLine("Application is terminating: " + e.IsTerminating.ToString());
|
||||
Console.WriteLine("Exception:");
|
||||
Console.WriteLine(e.ExceptionObject.ToString());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenSim.Grid.ScriptServer
|
||||
{
|
||||
class OpenScript_Main
|
||||
{
|
||||
|
||||
public static ScriptServerMain SE;
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
// Application is starting
|
||||
SE = new ScriptServerMain();
|
||||
|
||||
System.AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
|
||||
}
|
||||
|
||||
static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
|
||||
{
|
||||
Console.WriteLine("");
|
||||
Console.WriteLine("APPLICATION EXCEPTION DETECTED");
|
||||
Console.WriteLine("");
|
||||
Console.WriteLine("Application is terminating: " + e.IsTerminating.ToString());
|
||||
Console.WriteLine("Exception:");
|
||||
Console.WriteLine(e.ExceptionObject.ToString());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user