File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636use OC \Authentication \Exceptions \InvalidTokenException ;
3737use OC \Authentication \Token \IProvider ;
3838use OCP \Session \Exceptions \SessionNotAvailableException ;
39+ use function OCP \Log \logger ;
3940
4041/**
4142 * Class Internal
@@ -178,6 +179,7 @@ public function getId(): string {
178179 */
179180 public function reopen (): bool {
180181 if ($ this ->sessionClosed ) {
182+ logger ()->error ('lock_session_reopen ' , ['exception ' => new \Exception ()]);
181183 $ this ->startSession ();
182184 $ this ->sessionClosed = false ;
183185 return true ;
Original file line number Diff line number Diff line change 2828namespace OC \Session ;
2929
3030use OCP \ISession ;
31+ use function OCP \Log \logger ;
3132
3233abstract class Session implements \ArrayAccess, ISession {
3334
@@ -79,6 +80,8 @@ public function offsetUnset($offset): void {
7980 * Close the session and release the lock
8081 */
8182 public function close () {
83+ logger ()->error ('lock_session_close ' , ['exception ' => new \Exception ()]);
84+
8285 $ this ->sessionClosed = true ;
8386 }
8487}
You can’t perform that action at this time.
0 commit comments