Added the error message when a menu could not be computed (error in template)

SVN:trunk[548]
This commit is contained in:
Romain Quetiez
2010-07-04 16:55:09 +00:00
parent b368209631
commit a7bf711182

View File

@@ -69,7 +69,7 @@ class DisplayTemplate
}
catch(Exception $e)
{
$oPage->p('Error in template (please contact your administrator)<!--'.$sOuterTag.'-->');
$oPage->p('Error in template (please contact your administrator)<!--'.$e->getMessage().'--><!--'.$sOuterTag.'-->');
}
self::$iBlockCount++;