diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2017-11-14 14:28:04 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2017-11-14 14:28:04 +0100 |
commit | ad757805ca3c6556dd912881d5469b97b1f66171 (patch) | |
tree | a24946c1eef99ed6ddf36293a4551e1710c95533 /lib/private/Log.php | |
parent | 2a39ac043e1bcb42111e7f442814d6f11522365b (diff) | |
download | nextcloud-server-ad757805ca3c6556dd912881d5469b97b1f66171.tar.gz nextcloud-server-ad757805ca3c6556dd912881d5469b97b1f66171.zip |
Pass the exception context to the crash reporter
This should allow better reports as often the app id is passed
as context. While this is not used right now, I'd like to have this
for NC13 as adding it later will break the interface for existing apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/Log.php')
-rw-r--r-- | lib/private/Log.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Log.php b/lib/private/Log.php index 6b97a3a028e..a41c728df0d 100644 --- a/lib/private/Log.php +++ b/lib/private/Log.php @@ -352,7 +352,7 @@ class Log implements ILogger { $msg .= ': ' . json_encode($data); $this->log($level, $msg, $context); if (!is_null($this->crashReporters)) { - $this->crashReporters->delegateReport($exception); + $this->crashReporters->delegateReport($exception, $context); } } |