fix cycle detector exception string printing backwards
parent
29179e0ad6
commit
53ec91d64f
|
@ -129,7 +129,7 @@ namespace Encompass
|
|||
{
|
||||
var cycles = engineGraph.SimpleCycles();
|
||||
var errorString = "Cycle(s) found in Engines: ";
|
||||
foreach (var cycle in cycles)
|
||||
foreach (var cycle in cycles.Reverse())
|
||||
{
|
||||
errorString += "\n" +
|
||||
string.Join(" -> ", cycle.Select((engine) => engine.GetType().Name)) +
|
||||
|
|
Loading…
Reference in New Issue