summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/IceGridNode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/IceGridNode.cpp')
-rw-r--r--cpp/src/IceGrid/IceGridNode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/IceGridNode.cpp b/cpp/src/IceGrid/IceGridNode.cpp
index 0ac32aae283..054c0f9136f 100644
--- a/cpp/src/IceGrid/IceGridNode.cpp
+++ b/cpp/src/IceGrid/IceGridNode.cpp
@@ -623,10 +623,10 @@ NodeService::start(int argc, char* argv[])
<< "registry database is locked by `" << ex.lockUserId << "'";
warning(ostr.str());
}
- catch(const LocalException& ex)
+ catch(const std::exception& ex)
{
ostringstream ostr;
- ostr << "failed to deploy application `" << desc << "':\n" << ex;
+ ostr << "failed to deploy application `" << desc << "':\n" << ex.what();
warning(ostr.str());
}
catch(const string& reason)