Explorar o código

Put back exception handler !

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@691 a333f486-631f-4898-b8df-5754b55c2be0
dflaven %!s(int64=15) %!d(string=hai) anos
pai
achega
280d1f67b4
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      pages/UI.php

+ 2 - 2
pages/UI.php

@@ -1385,7 +1385,7 @@ EOF
 	////MetaModel::ShowQueryTrace();
 	$oP->output();
 }
-catch(ZZCoreException $e)
+catch(CoreException $e)
 {
 	require_once('../setup/setuppage.class.inc.php');
 	$oP = new SetupWebPage(Dict::S('UI:PageTitle:FatalError'));
@@ -1414,7 +1414,7 @@ catch(ZZCoreException $e)
 	// For debugging only
 	//throw $e;
 }
-catch(ZZException $e)
+catch(Exception $e)
 {
 	require_once('../setup/setuppage.class.inc.php');
 	$oP = new SetupWebPage(Dict::S('UI:PageTitle:FatalError'));