resetDocument((int)$file->getId(), true); } catch (\Throwable $e) { $this->logger->debug('Unable to reset Text document session after wiki write', [ 'exception' => $e, 'file_id' => $file->getId(), ]); } } }