aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2024-10-18 17:35:39 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2024-10-18 17:35:39 +0200
commitb76b5f942407212a980d8707f27399fdbc081092 (patch)
tree588f00e332806942c03718ca4a20211801e8e2b9 /lib/base.php
parent69070bf617a976124c338236cbdbacb2a2645e20 (diff)
downloadnextcloud-server-debug/snae.tar.gz
nextcloud-server-debug/snae.zip
debug: collect message on a SessionNotAvailableException casedebug/snae
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
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