diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-12-29 11:08:34 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-12-29 17:53:04 -0500 |
commit | bc6c5df4699d3f6b4a61dd12328f9e0f1bd6cf46 (patch) | |
tree | c1e397a73c44fda84882aa99bbe5fec451484c43 /activerecord/lib/active_record/tasks | |
parent | 5973a984c369a63720c2ac18b71012b8347479a8 (diff) | |
download | rails-bc6c5df4699d3f6b4a61dd12328f9e0f1bd6cf46.tar.gz rails-bc6c5df4699d3f6b4a61dd12328f9e0f1bd6cf46.tar.bz2 rails-bc6c5df4699d3f6b4a61dd12328f9e0f1bd6cf46.zip |
Remove original_exception from ActiveRecord::StatementInvalid
Diffstat (limited to 'activerecord/lib/active_record/tasks')
-rw-r--r-- | activerecord/lib/active_record/tasks/sqlite_database_tasks.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/tasks/sqlite_database_tasks.rb b/activerecord/lib/active_record/tasks/sqlite_database_tasks.rb index 8d5ab9bff9..1f756c2979 100644 --- a/activerecord/lib/active_record/tasks/sqlite_database_tasks.rb +++ b/activerecord/lib/active_record/tasks/sqlite_database_tasks.rb @@ -21,7 +21,7 @@ module ActiveRecord FileUtils.rm(file) rescue Errno::ENOENT => error - raise NoDatabaseError.new(error.message, error) + raise NoDatabaseError.new(error.message) end def purge |