From 0b87e14964d21602be507a7cc96ec201ae29dba4 Mon Sep 17 00:00:00 2001 From: Dave Wetzel Date: Tue, 30 Dec 2003 22:32:30 +0000 Subject: [PATCH] GSWExceptionPageName is currently only GSWExceptionPage git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18294 72102866-910b-0410-8b05-ffd578937521 --- GSWeb.framework/GSWApplication.m | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/GSWeb.framework/GSWApplication.m b/GSWeb.framework/GSWApplication.m index b0848b4..01575f1 100644 --- a/GSWeb.framework/GSWApplication.m +++ b/GSWeb.framework/GSWApplication.m @@ -810,9 +810,12 @@ int GSWApplicationMain(NSString* applicationClassName, lifebeatPort:[[self class]lifebeatDestinationPort] interval:lifebeatInterval]); NSDebugMLLog(@"application",@"_lifebeatThread=%@",_lifebeatThread); +#warning go only multi-thread if we want this! + [NSThread detachNewThreadSelector:@selector(run:) toTarget:_lifebeatThread withObject:nil]; + }; }; LOGObjectFnStop(); @@ -3503,9 +3506,17 @@ to another instance **/ NSDebugMLog(@"EXCEPTION=%@",anException); NS_DURING { - response=[self _handleErrorWithPageNamed:GSWExceptionPageName[GSWebNamingConv] +// +// response=[self _handleErrorWithPageNamed:GSWExceptionPageName[GSWebNamingConv] +// exception:anException +// inContext:aContext]; +// we have only GSWExceptionPage until now + + response=[self _handleErrorWithPageNamed:GSWExceptionPageName[0] exception:anException inContext:aContext]; + + } NS_HANDLER {