diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2021-06-28 22:53:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-28 22:53:13 +0300 |
commit | c3337d24762ec3adc1977a4820b47b1d12ceb0f0 (patch) | |
tree | 0d8f419dc1a042b420231260286e27c9056c0745 /core | |
parent | 5a68eedc22515b6d3baa6ae975964c22aa7fe626 (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.php | 8 |
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); + } } |