Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add inspect to the raise user_info in readme #1108

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ombr
Copy link

@ombr ombr commented Mar 9, 2023

I think we should have inspect when we raise the error in the readme.

Without inspect we are getting the following error:

TypeError (exception class/object expected):

app/controllers/sessions_controller.rb:8:in `raise'

Whereas with inspect we are seeing the object:

#<OmniAuth::AuthHash credentials=#<OmniAuth::AuthHash expires=false token="XXX"> extra=#<OmniAuth::AuthHash bot_info=

Without inspect we are getting the following error:

```
TypeError (exception class/object expected):

app/controllers/sessions_controller.rb:8:in `raise'
```

Whereas with inspect we are seeing the object:

```
#<OmniAuth::AuthHash credentials=#<OmniAuth::AuthHash expires=false token="XXX"> extra=#<OmniAuth::AuthHash bot_info=
```
@ombr ombr changed the title Add inspect to raise Add inspect to the raise user_info in readme Mar 9, 2023
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.

None yet

1 participant