Changeset - 4c1fcb4344e3
[Not reviewed]
0 1 0
HanzZ - 12 years ago 2013-01-31 19:12:00
hanzz.k@gmail.com
Show better log in case of ENOENT error returned by backend
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/networkpluginserver.cpp
Show inline comments
 
@@ -352,6 +352,10 @@ void NetworkPluginServer::start() {
 
					}
 
					else {
 
						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");
 
					continue;
0 comments (0 inline, 0 general)