diff options
Diffstat (limited to 'plugins/ScheduledReports/API.php')
-rw-r--r-- | plugins/ScheduledReports/API.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ScheduledReports/API.php b/plugins/ScheduledReports/API.php index c63b197f04..5cbae39905 100644 --- a/plugins/ScheduledReports/API.php +++ b/plugins/ScheduledReports/API.php @@ -764,7 +764,7 @@ class API extends \Piwik\Plugin\API { $availablePeriods = array('day', 'week', 'month', 'never'); if (!in_array($period, $availablePeriods)) { - throw new Exception('Period schedule must be one of the following: ' . implode(', ', $availablePeriods)); + throw new Exception('Period schedule must be one of the following: ' . implode(', ', $availablePeriods) . ' (got ' . $period . ')'); } } |