Skip to content

Conversation

@brendasukh
Copy link

The logout query fails if the session has expired. In this case that this happens, we need to clear out the session information to enable login later.

Copy link

@martingordon martingordon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor fix. Otherwise LGTM!

if e.message == 'Session has expired or is invalid'
@session_id = nil
@session_encoding = nil
end

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll want to raise e if the message doesn't match, otherwise we're suppressing all errors.

@brendasukh
Copy link
Author

ping @martingordon

@brendasukh
Copy link
Author

@martingordon ping

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants