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

Investigate CI failure for test_errors_for_bigint_fks_on_integer_pk_table on MariaDB #35294

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions activerecord/lib/active_record/errors.rb
Expand Up @@ -135,6 +135,9 @@ def initialize(adapter = nil, message: nil, table: nil, foreign_key: nil, target
msg << "\nOriginal message: #{message}"
end
super(msg)
rescue NoMethodError
p [message: message, table: table, foreign_key: foreign_key, target_table: target_table, primary_key: primary_key]
raise
end

private
Expand Down