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:
Prasanna Santhanam 2013-05-07 15:26:48 +05:30
parent 9ee8533134
commit 1d24cbc307
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}
}