Better console documentation

This commit is contained in:
C9Glax 2023-02-05 20:44:43 +01:00
parent 87944997db
commit da9a99cf7c

View File

@ -44,7 +44,7 @@ namespace OSMImporter
private Region LoadRegion(Coordinates coordinates) private Region LoadRegion(Coordinates coordinates)
{ {
string fullPath = Path.Combine(workingDirectory, coordinates.GetRegionHash().ToString()); string fullPath = Path.Combine(workingDirectory, coordinates.GetRegionHash().ToString());
Console.WriteLine(fullPath); Console.WriteLine("Loading {0}", fullPath);
if (!File.Exists(fullPath)) if (!File.Exists(fullPath))
{ {
throw new FileNotFoundException(string.Format("Region does not exist: {0}", fullPath)); throw new FileNotFoundException(string.Format("Region does not exist: {0}", fullPath));