Skip to content

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

@smdern

Description

@smdern

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

Metadata

Metadata

Assignees

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions