Commit 98032f67 authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Fixed #14093 -- Improved error message in the cache session backend.

Thanks stumbles for the patch.
parent 785bf0d5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -43,7 +43,9 @@ class SessionStore(SessionBase):
                continue
            self.modified = True
            return
        raise RuntimeError("Unable to create a new session key.")
        raise RuntimeError(
            "Unable to create a new session key. "
            "It is likely that the cache is unavailable.")

    def save(self, must_create=False):
        if must_create: