Add warnings and clean up errors

This commit is contained in:
Matt Nadareski
2016-03-30 14:18:37 -07:00
parent b35d1c0367
commit 745a4c63c2
2 changed files with 7 additions and 7 deletions

View File

@@ -510,7 +510,7 @@ Make a selection:
// If nothing is found, tell the user and exit
if (!sldr.HasRows)
{
logger.Error("Error: No systems found! Please add a source and then try again.");
logger.Error("No systems found! Please add a source and then try again.");
return;
}
@@ -535,7 +535,7 @@ Make a selection:
// If nothing is found, tell the user and exit
if (!ssldr.HasRows)
{
logger.Error("Error: No sources found! Please add a source and then try again.");
logger.Error("No sources found! Please add a source and then try again.");
return;
}
@@ -563,7 +563,7 @@ Make a selection:
// If nothing is found, tell the user and exit
if (!sldr.HasRows)
{
logger.Error("Error: No sources found! Please add a source and then try again.");
logger.Error("No sources found! Please add a source and then try again.");
return;
}
@@ -653,7 +653,7 @@ ORDER BY sources.name COLLATE NOCASE";
// If nothing is found, tell the user and exit
if (!sldr.HasRows)
{
Console.WriteLine("Error: No sources found! Please add a source and then try again.");
logger.Warning("No sources found! Please add a source and then try again.");
return;
}
@@ -688,7 +688,7 @@ ORDER BY systems.manufacturer, systems.system";
// If nothing is found, tell the user and exit
if (!sldr.HasRows)
{
Console.WriteLine("Error: No systems found! Please add a system and then try again.");
logger.Warning("No systems found! Please add a system and then try again.");
return;
}