Skip to content

registry: return store.New error instead of panicking - #296

Open
team-humaki wants to merge 1 commit into
gorilla:mainfrom
team-humaki:registry-nil-session-error
Open

team-humaki wants to merge 1 commit into
gorilla:mainfrom
team-humaki:registry-nil-session-error

Conversation

@team-humaki

Copy link
Copy Markdown

Registry.Get panics with a nil dereference when a Store.New implementation returns a nil session plus an error. Return that error instead of writing through the nil session.

Fixes #288

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Panic if store.New returns an error

1 participant