Skip to content

Commit f3242af

Browse files
committed
add log
1 parent 91cff83 commit f3242af

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

server/src/main/java/com/cloud/api/ApiResponseHelper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2494,6 +2494,7 @@ public NetworkResponse createNetworkResponse(ResponseView view, Network network)
24942494
_accountMgr.checkAccess(CallContext.current().getCallingAccount(), null, false, vpc);
24952495
response.setVpcId(vpc.getUuid());
24962496
} catch (PermissionDeniedException e){
2497+
s_logger.debug("Not setting the vpcId to the response because the caller does not have access to the VPC");
24972498
}
24982499
response.setVpcName(vpc.getName());
24992500
}

0 commit comments

Comments
 (0)