mirror of https://github.com/apache/cloudstack.git
adding more exception handling and debugging support
This commit is contained in:
parent
3752a4eb31
commit
abd64eddd1
|
|
@ -128,7 +128,11 @@ public class ConsoleProxyResource extends ServerResourceBase implements ServerRe
|
|||
out.close();
|
||||
success = true;
|
||||
}
|
||||
}catch (Exception e)
|
||||
}catch (SecurityException se){
|
||||
s_logger.error("Unable to read the cert string in console proxy resource due to directory creation failure",se);
|
||||
success = false;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
s_logger.error("Unable to read the cert string in console proxy resource",e);
|
||||
success = false;
|
||||
|
|
|
|||
|
|
@ -139,6 +139,7 @@ import com.cloud.async.BaseAsyncJobExecutor;
|
|||
import com.cloud.async.dao.AsyncJobDao;
|
||||
import com.cloud.capacity.CapacityVO;
|
||||
import com.cloud.capacity.dao.CapacityDao;
|
||||
import com.cloud.certificate.CertificateVO;
|
||||
import com.cloud.certificate.dao.CertificateDao;
|
||||
import com.cloud.configuration.Config;
|
||||
import com.cloud.configuration.ConfigurationManager;
|
||||
|
|
@ -5928,7 +5929,7 @@ public class ManagementServerImpl implements ManagementServer {
|
|||
}
|
||||
|
||||
_certDao.release(lockedCert.getId());
|
||||
return ("Updated:"+updatedCpIdList.size()+" out of:"+cpList.size());
|
||||
return ("Updated:"+updatedCpIdList.size()+" out of:"+cpList.size()+" console proxies");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue