1
0
Fork 0

fix wrong message

This commit is contained in:
Jan Steemann 2013-05-13 09:18:33 +02:00
parent a646e26105
commit 650419ed37
1 changed files with 1 additions and 6 deletions

View File

@ -593,12 +593,7 @@ bool ApplicationV8::prepare () {
// TODO: decide if we want to abort server start here
}
// check whether package-path exist
if (! _packagePath.empty() && ! FileUtils::isDirectory(_packagePath.c_str())) {
LOGGER_ERROR("specified package-path '" << _packagePath << "' does not exist.");
// TODO: decide if we want to abort server start here
}
else if (_packagePath.empty()) {
if (_packagePath.empty()) {
LOGGER_ERROR("--javascript.package-path option was not specified. this may cause follow-up errors.");
// TODO: decide if we want to abort server start here
}