Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 3004bb5d authored by Michael KRISPER's avatar Michael KRISPER
Browse files

[VECTO-263] Version gets logged as Info (instead of Fatal)

parent 7bf815c4
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl
public SimulatorFactory(ExecutionMode mode, IInputDataProvider dataProvider, IOutputDataWriter writer,
DeclarationReport report = null)
{
Log.Fatal("########## VectoCore Version {0} ##########", Assembly.GetExecutingAssembly().GetName().Version);
Log.Info("########## VectoCore Version {0} ##########", Assembly.GetExecutingAssembly().GetName().Version);
JobNumber = Interlocked.Increment(ref _jobNumberCounter);
_mode = mode;
ModWriter = writer;
......@@ -99,7 +99,6 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl
public IOutputDataWriter ModWriter { get; private set; }
public int JobNumber { get; set; }
public bool WriteModalResults { get; set; }
......@@ -146,10 +145,10 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl
var validationErrors = run.Validate();
if (validationErrors.Any()) {
throw new VectoException("Validation of Run-Data Failed: " + "\n".Join(validationErrors.Select(r => r.ErrorMessage)));
throw new VectoException("Validation of Run-Data Failed: " +
"\n".Join(validationErrors.Select(r => r.ErrorMessage)));
}
yield return run;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment