diff options
Diffstat (limited to 'filedistribution/src/apps/filedistributor/filedistributor.cpp')
-rw-r--r-- | filedistribution/src/apps/filedistributor/filedistributor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/filedistribution/src/apps/filedistributor/filedistributor.cpp b/filedistribution/src/apps/filedistributor/filedistributor.cpp index a690b7dc14b..4d81970f75c 100644 --- a/filedistribution/src/apps/filedistributor/filedistributor.cpp +++ b/filedistribution/src/apps/filedistributor/filedistributor.cpp @@ -292,6 +292,10 @@ FileDistributorApplication::Main() { std::string s = boost::diagnostic_information(e); EV_STOPPING(programName, s.c_str()); return 5; + } catch(const ZKConnectionLossException & e) { + std::string s = boost::diagnostic_information(e); + EV_STOPPING(programName, s.c_str()); + return 6; } catch(const ZKGenericException & e) { std::string s = boost::diagnostic_information(e); EV_STOPPING(programName, s.c_str()); |