Skip to content

Mysql2::Error: MySQL client is not connected #1422

@dhurba87

Description

@dhurba87

Describe the bug
Sentry is capturing breadcrumbs of delayed-job event every time, which is a long text (check the screenshot). So, capture exception repeatedly crashes the DB because of the text limit

To Reproduce

  1. Configure sentry with async enabled
  2. Go to console and capture the custom error message
Sentry.capture_message("Custom error message")
  1. Repeat the above script for a few times; Every time it records the delayed-job log in the breadcrumbs and the DB Stops working

Environment

  • Ruby Version: 2.7
  • SDK Version: 4.3.2
  • Integration Versions (if any): rails 6.1, delayed-job 4.1.8

This is not necessary but could be helpful.
image

Metadata

Metadata

Assignees

Labels

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions