Update vehicle.rb

This commit is contained in:
ricky committed 2016-05-06 06:45:55 -04:00
1 parent 70cd5a5cdd
commit 2210b11a57
1 file changed
+2 -2
+2 -2
View File
@@ -57,8 +57,8 @@ class Vehicle < ActiveRecord::Base
if self.vin? if self.vin?
begin begin
@details = JSON.parse get_decoder.full(self.vin) @details = JSON.parse get_decoder.full(self.vin)
rescue rescue Exception => e
return nil errors.add(:vin, e.message)
end end
end end
end end