Changeset - 6245840e7c6b
[Not reviewed]
0 1 0
Jan Kaluza - 13 years ago 2012-10-04 10:18:35
hanzz.k@gmail.com
Show more info about boost filesystem error
1 file changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
spectrum_manager/src/methods.cpp
Show inline comments
 
@@ -195,7 +195,7 @@ int start_instances(ManagerConfig *config, const std::string &_jid) {
 
		}
 
	}
 
	catch (const filesystem_error& ex) {
 
		std::cerr << "boost filesystem error\n";
 
		std::cerr << "Filesystem error: " << ex.what() << "\n";
 
		return 6;
 
	}
 
	return rv;
 
@@ -271,7 +271,7 @@ void stop_instances(ManagerConfig *config, const std::string &_jid) {
 
		}
 
	}
 
	catch (const filesystem_error& ex) {
 
		std::cerr << "boost filesystem error\n";
 
		std::cerr << "Filesystem error: " << ex.what() << "\n";
 
		exit(5);
 
	}
 
}
 
@@ -324,7 +324,7 @@ int show_status(ManagerConfig *config) {
 
		}
 
	}
 
	catch (const filesystem_error& ex) {
 
		std::cerr << "boost filesystem error\n";
 
		std::cerr << "Filesystem error: " << ex.what() << "\n";
 
		exit(5);
 
	}
 
	return ret;
 
@@ -460,7 +460,7 @@ void ask_local_server(ManagerConfig *config, Swift::BoostNetworkFactories &netwo
 
		}
 
	}
 
	catch (const filesystem_error& ex) {
 
		std::cerr << "boost filesystem error\n";
 
		std::cerr << "Filesystem error: " << ex.what() << "\n";
 
		exit(5);
 
	}
 
}
 
@@ -498,7 +498,7 @@ std::vector<std::string> show_list(ManagerConfig *config, bool show) {
 
		}
 
	}
 
	catch (const filesystem_error& ex) {
 
		std::cerr << "boost filesystem error\n";
 
		std::cerr << "Filesystem error: " << ex.what() << "\n";
 
	}
 
	return list;
 
}
0 comments (0 inline, 0 general)