aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php
index 115e7b11daf..980e486b54e 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -447,6 +447,8 @@ class OC {
$cryptoWrapper = Server::get(\OC\Session\CryptoWrapper::class);
$session = $cryptoWrapper->wrapSession($session);
+ $e = new \Exception('Stacktrace for initializing Internal/Encrypted session');
+ \OCP\Log\logger('core')->warning('SnaeDebug: Updating UserSession with persistent Internal/Encrypted backend', [ 'exception' => $e ]);
self::$server->setSession($session);
// if session can't be started break with http 500 error