Kaydet (Commit) 98032f67 authored tarafından Aymeric Augustin's avatar Aymeric Augustin

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

Thanks stumbles for the patch.
üst 785bf0d5
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment