Better console documentation
This commit is contained in:
parent
87944997db
commit
da9a99cf7c
@ -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));
|
||||||
|
Reference in New Issue
Block a user