Closed kyrylo closed 1 month ago
When the returned row contains DB::Exception, the adapter will erroneously raise an ActiveRecord::ActiveRecordError.
DB::Exception
ActiveRecord::ActiveRecordError
The current check for DB::Exception doesn't account for that.
Fixes https://github.com/PNixx/clickhouse-activerecord/issues/164
Could you please add a test?
Where do I add it? Sorry, I am not familiar with the codebase here.
When the returned row contains
DB::Exception
, the adapter will erroneously raise anActiveRecord::ActiveRecordError
.The current check for
DB::Exception
doesn't account for that.Fixes https://github.com/PNixx/clickhouse-activerecord/issues/164