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/core
diff options
context:
space:
mode:
authordizzy <diosmosis@users.noreply.github.com>2021-06-28 22:53:13 +0300
committerGitHub <noreply@github.com>2021-06-28 22:53:13 +0300
commitc3337d24762ec3adc1977a4820b47b1d12ceb0f0 (patch)
tree0d8f419dc1a042b420231260286e27c9056c0745 /core
parent5a68eedc22515b6d3baa6ae975964c22aa7fe626 (diff)
Add some context to this error since logs will not have the host or instance or other information. (#17472)
* Add some context to this error since logs will not have the host or instance or other information. * Move context addition to ExceptionToTextProcessor. * fix some tests
Diffstat (limited to 'core')
-rw-r--r--core/Exception/NotYetInstalledException.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/Exception/NotYetInstalledException.php b/core/Exception/NotYetInstalledException.php
index 9c4b88d555..c1635f5056 100644
--- a/core/Exception/NotYetInstalledException.php
+++ b/core/Exception/NotYetInstalledException.php
@@ -8,6 +8,14 @@
*/
namespace Piwik\Exception;
+use Piwik\Common;
+use Piwik\Url;
+use Throwable;
+
class NotYetInstalledException extends InvalidRequestParameterException
{
+ public function __construct($message = "", $code = 0, Throwable $previous = null)
+ {
+ parent::__construct($message, $code, $previous);
+ }
}