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

Logging OrcidsController errors #298

Closed
hectorcorrea opened this issue Dec 9, 2024 · 0 comments · Fixed by #324
Closed

Logging OrcidsController errors #298

hectorcorrea opened this issue Dec 9, 2024 · 0 comments · Fixed by #324
Assignees

Comments

@hectorcorrea
Copy link
Member

hectorcorrea commented Dec 9, 2024

We should log and send to HoneyBadger any error that we display the user in the OrcidsController.failure method.

Right now we only display it to the user:

  def failure
    message = request.env["omniauth.error"].detailed_message
    flash[:notice] = "Omniauth linking failed #{message}.  Consider linking your account"
    redirect_to user_path(current_user)
  end

See also #297

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

Successfully merging a pull request may close this issue.

3 participants