mirror of https://github.com/apache/cloudstack.git
add debug logs when access checkers fail to find API
When the access checkers fail for api discovery, we fail silently. instead record a debug message. Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
9ee8533134
commit
1d24cbc307
|
|
@ -219,6 +219,7 @@ public class ApiDiscoveryServiceImpl implements ApiDiscoveryService {
|
|||
try {
|
||||
apiChecker.checkAccess(user, name);
|
||||
} catch (Exception ex) {
|
||||
s_logger.debug("API discovery access check failed for " + name + " with " + ex.getMessage());
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue