diff --git a/VectoCore/VectoCore/InputData/FileIO/JSON/JSONInputData.cs b/VectoCore/VectoCore/InputData/FileIO/JSON/JSONInputData.cs index 82b2b4b73e7ad8ff4d083e0c52939c91ed9cf002..04cea2dbe10bc3be121b9974b9f191feb0bc4d7a 100644 --- a/VectoCore/VectoCore/InputData/FileIO/JSON/JSONInputData.cs +++ b/VectoCore/VectoCore/InputData/FileIO/JSON/JSONInputData.cs @@ -193,16 +193,13 @@ namespace TUGraz.VectoCore.InputData.FileIO.JSON return JSONInputDataFactory.ReadGearbox(Path.Combine(BasePath, gearboxFile)); } catch (Exception e) { if (!TolerateMissing) { - throw new VectoException( - "JobFile: Failed to read Gearbox file '{0}': {1}", e, - Body[JsonKeys.Vehicle_GearboxFile], - e.Message); + throw new VectoException("JobFile: Failed to read Gearbox file '{0}': {1}", e, + Body[JsonKeys.Vehicle_GearboxFile], e.Message); } - return new JSONGearboxDataV6( - GetDummyJSONStructure(), - Path.Combine(BasePath, Body.GetEx(JsonKeys.Vehicle_GearboxFile).Value<string>()) + - MissingFileSuffix); + return new JSONGearboxDataV6(GetDummyJSONStructure(), + Path.Combine(BasePath, Body.GetEx(JsonKeys.Vehicle_GearboxFile).Value<string>()) + + MissingFileSuffix); } }