Issue Description
Sentry started marked invalid values in the UI:
From what I understand from here: https://github.com/getsentry/sentry-ruby/blob/master/sentry-ruby/lib/sentry/breadcrumb/sentry_logger.rb#L11 breadcrumbs from logger.warn are set with level "warn", which is not accepted by the server.
As described in the breadcrumb interface specification the level should be "warning" not "warn": https://develop.sentry.dev/sdk/event-payloads/breadcrumbs/
This similar to this workaround used for event level: https://github.com/getsentry/sentry-ruby/blob/master/sentry-ruby/lib/sentry/event.rb#L124
Reproduction Steps
Trigger events that contain warn level breadcrumbs.
Expected Behavior
The level is set to a value that Sentry's server accepts.
Actual Behavior
Ruby Version
3.1.2
SDK Version
5.12.0
Integration and Its Version
No response
Sentry Config
No response
Issue Description
Sentry started marked invalid values in the UI:
From what I understand from here: https://github.com/getsentry/sentry-ruby/blob/master/sentry-ruby/lib/sentry/breadcrumb/sentry_logger.rb#L11 breadcrumbs from logger.warn are set with level "warn", which is not accepted by the server.
As described in the breadcrumb interface specification the level should be "warning" not "warn": https://develop.sentry.dev/sdk/event-payloads/breadcrumbs/
This similar to this workaround used for event level: https://github.com/getsentry/sentry-ruby/blob/master/sentry-ruby/lib/sentry/event.rb#L124
Reproduction Steps
Trigger events that contain warn level breadcrumbs.
Expected Behavior
The level is set to a value that Sentry's server accepts.
Actual Behavior
Ruby Version
3.1.2
SDK Version
5.12.0
Integration and Its Version
No response
Sentry Config
No response