add more info to log

This commit is contained in:
Florian Bezannier
2021-05-14 13:21:33 +02:00
parent 1dfc0c7f57
commit 5525df04e9
+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