mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
don't log null response
This commit is contained in:
parent
db7ace389d
commit
387fe57771
@ -542,7 +542,10 @@ public class Agent implements HandlerFactory, IAgentControl {
|
||||
response = new Response(request, answers);
|
||||
} finally {
|
||||
if (s_logger.isDebugEnabled()) {
|
||||
s_logger.debug(response != null ? response.toString() : "response is null");
|
||||
String responseMsg = response.toString();
|
||||
if (responseMsg != null) {
|
||||
s_logger.debug(response.toString());
|
||||
}
|
||||
}
|
||||
|
||||
if (response != null) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user