summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ServerI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/ServerI.cpp')
-rw-r--r--cpp/src/IceGrid/ServerI.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/ServerI.cpp b/cpp/src/IceGrid/ServerI.cpp
index 9c24a7a2dec..efcbcef6f88 100644
--- a/cpp/src/IceGrid/ServerI.cpp
+++ b/cpp/src/IceGrid/ServerI.cpp
@@ -1010,9 +1010,8 @@ ServerI::destroy(const AMD_Node_destroyServerPtr& amdCB, const string& uuid, int
{
if(_info.uuid.empty())
{
- DeploymentException ex;
- ex.reason = "server doesn't exist (`" + uuid + "')";
- throw ex;
+ amdCB->ice_response();
+ return; // Server doesn't exist.
}
else if(_info.uuid != uuid)
{