add more info to log

This commit is contained in:
Florian Bezannier
2021-05-14 18:04:54 +02:00
parent 218245a9eb
commit 4f017a255d
+1 -1
View File
@@ -31,7 +31,7 @@ class CarModel:
if carmodel.match(vin):
return carmodel
logger.warning("Can't get car model, please report an issue on github with your car model"
" and first ten letter of your VIN")
" and first ten letter of your VIN : %s", vin[:10])
return CarModel("unknown", DEFAULT_BATTERY_POWER, DEFAULT_FUEL_CAPACITY)
@staticmethod