VW ID: better engine type errors
This commit is contained in:
parent
4f888064d7
commit
454ea65f58
1 changed files with 1 additions and 1 deletions
|
|
@ -310,7 +310,7 @@ func (f *FuelStatus) EngineRangeStatus(typ string) (EngineRangeStatus, error) {
|
|||
return f.RangeStatus.Value.SecondaryEngine, nil
|
||||
}
|
||||
|
||||
return EngineRangeStatus{}, fmt.Errorf("unknown engine type: %s", typ)
|
||||
return EngineRangeStatus{}, fmt.Errorf("unknown engine type: %s, got [%s, %s]", typ, f.RangeStatus.Value.PrimaryEngine.Type, f.RangeStatus.Value.SecondaryEngine.Type)
|
||||
}
|
||||
|
||||
// EngineRangeStatus is the engine range status
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue