logic: errorview fix non index errors, use filepath instead of string in

commandline parser

<description>
This commit is contained in:
Andreas Stallinger
2016-10-17 11:19:39 +02:00
parent 730eebe13a
commit 4e0ebaef12
4 changed files with 11 additions and 6 deletions
+5
View File
@@ -51,6 +51,10 @@ void prefillJavaRuntimePath()
settings->setJavaPath(paths.front().str());
settings->save();
}
else
{
std::cout << "no javapath" << std::endl;
}
}
}
@@ -136,6 +140,7 @@ int main(int argc, char *argv[])
if (!checker->isCurrentLicenseValid()) // this works because the user cannot enter a license string while running the app in headless more.
{
std::cout << "No or invalide License" << std::endl;
LOG_WARNING("Your current Coati license seems to be invalid. Please update your license info.");
return 0;
}