Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Input::getSessionStore() throws an exception #227

Zizaco opened this Issue · 0 comments

2 participants


As we can see here: laravelbook/ardent#3

This becomes a problem when you need to check if the SessionStore is already initialized. The only way to check it "without throwing an exception" is to silently catch it up, which does not seems to be the right thing to do.

Maybe getSessionStore() should simply return null when the session is not set and the exception throw be placed at (the only place where getSessionStore() is called) if the result is null.

Right now getSessionStore() is not usable to check what it was suposse to check I guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.