Use Rails.logger

This commit is contained in:
2026-01-27 20:25:24 -05:00
parent 2f49a21fed
commit c477f7a37e
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ class CreateVehicles < ActiveRecord::Migration[5.1]
add_reference :issues, :vehicle, index: true
}
rescue
logger.error "Failed to create vehicles & refrences"
Rails.logger.error "Failed to create vehicles & refrences"
end
end
end