Skip to content

Commit c99ed5b

Browse files
committed
improve error msg
1 parent c98d10e commit c99ed5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Rubjerg.Graphviz/GraphvizCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ internal static string Rid
4545
];
4646
return possibleLocations.Select(dir => Path.Combine(dir, "dot")).FirstOrDefault(File.Exists)
4747
?? possibleLocations.Select(dir => Path.Combine(dir, "dot.exe")).FirstOrDefault(File.Exists)
48-
?? throw new InvalidOperationException("Could not find path to dot binary");
48+
?? throw new InvalidOperationException("Could not find path to dot binary in any of: " + string.Join(", ", possibleLocations));
4949
});
5050
internal static string DotExePath => _DotExePath.Value;
5151

0 commit comments

Comments
 (0)