Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ExceptionHandler.php « modules - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f6fd67e0f112ff2d3f1409ea26a5fd75e139c397 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

function Piwik_ExceptionHandler(Exception $exception) 
{
	try	{
		Zend_Registry::get('logger_exception')->log($exception);
	} catch(Exception $e) {
		print("<br> -------------------------- <br>An exception occured while dealing with an uncaught exception... <br>");
		print("'" . $e->getMessage()."'");
		print("<br> The initial exception was: <br>'". $exception->getMessage()."'");
	}
}
?>