Show better log in case of ENOENT error returned by backend
This commit is contained in:
parent
d85474b70b
commit
4c1fcb4344
1 changed files with 4 additions and 0 deletions
|
@ -352,6 +352,10 @@ void NetworkPluginServer::start() {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
LOG4CXX_ERROR(logger, "Backend can not be started, exit_code=" << WEXITSTATUS(status) << ", possible error: " << strerror(WEXITSTATUS(status)));
|
LOG4CXX_ERROR(logger, "Backend can not be started, exit_code=" << WEXITSTATUS(status) << ", possible error: " << strerror(WEXITSTATUS(status)));
|
||||||
|
if (WEXITSTATUS(status) == ENOENT) {
|
||||||
|
LOG4CXX_ERROR(logger, "This usually means the path to backend executable defined in config file as '[service] backend=\"...\"' is wrong or the executable does not exists.");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
LOG4CXX_ERROR(logger, "Check backend log for more details");
|
LOG4CXX_ERROR(logger, "Check backend log for more details");
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Reference in a new issue