fix #2599 improve log message
This commit is contained in:
parent
10357d03f0
commit
8567d63555
1 changed files with 2 additions and 2 deletions
|
@ -102,8 +102,8 @@ public class EsApiManager extends BaseApiManager {
|
|||
throw new WebApiException(HttpServletResponse.SC_FORBIDDEN, "Invalid session.");
|
||||
});
|
||||
} catch (final WebApiException e) {
|
||||
logger.warn("Web API access error.", e);
|
||||
response.sendError(e.getStatusCode(), "Web API access error.");
|
||||
logger.debug("Failed to access to Web API.", e);
|
||||
response.sendError(e.getStatusCode(), e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue