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

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-05-08 09:23:35 +0400
committermattab <matthieu.aubry@gmail.com>2014-05-08 09:23:35 +0400
commit5a9aef4ddfb6f64f6e0703253e74dd4a8b033957 (patch)
tree8bc42d3151ec2d9753d62b39cfc007a444b46a4b /misc
parent35f3d3699b4e60239f0a8ff78a1fec60876b5473 (diff)
Comments
Diffstat (limited to 'misc')
-rw-r--r--misc/cron/archive.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/misc/cron/archive.php b/misc/cron/archive.php
index 42b0093c03..e2b1c49696 100644
--- a/misc/cron/archive.php
+++ b/misc/cron/archive.php
@@ -37,6 +37,7 @@ if (false !== strpos($callee, 'archive.php')) {
Using this 'archive.php' script is no longer recommended.
Please use '/path/to/php $piwikHome/console core:archive " . implode(' ', array_slice($_SERVER['argv'], 1)) . "' instead.
To get help use '/path/to/php $piwikHome/console core:archive --help'
+See also: http://piwik.org/docs/setup-auto-archiving/
-------------------------------------------------------
\n\n";
}
@@ -44,8 +45,6 @@ To get help use '/path/to/php $piwikHome/console core:archive --help'
$archiving = new Piwik\CronArchive();
try {
$archiving->main();
-} catch (Piwik\CronArchiveFatalException $ex) {
- $ex->logAndExit($archiving);
} catch (Exception $e) {
- $archiving->logFatalExceptionAndExit($e);
+ $archiving->logFatalError($e->getMessage());
}