CLOUDSTACK-7886: cloudstackoperations like deployvm,deleteNW are failing if CS fail to contact rabbit mq server. This is happening in case of Async API calls.

Signed-off-by: Koushik Das <koushik@apache.org>
This commit is contained in:
Damodar 2014-11-11 18:16:06 +05:30 committed by Koushik Das
parent 0c45c96ec7
commit f1361796bf
1 changed files with 1 additions and 4 deletions

View File

@ -304,11 +304,8 @@ public class ApiServer extends ManagerBase implements HttpRequestHandler, ApiSer
try {
eventBus.publish(event);
} catch (EventBusException evx) {
String errMsg = "F" +
"" +
"ailed to publish async job event on the the event bus.";
String errMsg = "Failed to publish async job event on the the event bus.";
s_logger.warn(errMsg, evx);
throw new CloudRuntimeException(errMsg);
}
}