mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fixed error message when network fails to implement
This commit is contained in:
parent
9c8f989d6b
commit
e4debe7af4
@ -125,7 +125,7 @@ public class NetworkServiceMapDaoImpl extends GenericDaoBase<NetworkServiceMapVO
|
||||
sc.setParameters("service", service.getName());
|
||||
NetworkServiceMapVO ntwkSvc = findOneBy(sc);
|
||||
if (ntwkSvc == null) {
|
||||
throw new UnsupportedServiceException("Service " + service + " is not supported in the network id=" + networkId);
|
||||
throw new UnsupportedServiceException("Service " + service.getName() + " is not supported in the network id=" + networkId);
|
||||
}
|
||||
|
||||
return ntwkSvc.getProvider();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user