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

Uninitialized constant Set. Set isn't loaded. #1752

Closed
smdern opened this issue Mar 2, 2022 · 0 comments · Fixed by #1753
Closed

Uninitialized constant Set. Set isn't loaded. #1752

smdern opened this issue Mar 2, 2022 · 0 comments · Fixed by #1753
Assignees
Milestone

Comments

@smdern
Copy link

smdern commented Mar 2, 2022

Issue Description

Using capture_exception raises the error sentry-ruby-core-5.1.1/lib/sentry/interfaces/exception.rb:1:in `build': uninitialized constant Sentry::ExceptionInterface::Set (NameError)

This looks to be because Set isn't loaded.

I think the loader file should require "set"

Reproduction Steps

Basic ruby project, initialize Sentry and then Sentry.capture_exception(error, tags: tags).

Expected Behavior

Capture exception doesn't raise because set is loaded

Actual Behavior

Capture exception raises because set isn't loaded.

Ruby Version

3.0.3

SDK Version

5.1.1

Integration and Its Version

No response

Sentry Config

No response

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