Logging Updates to a few files in the common repo.
[aai/aai-common.git] / aai-core / src / main / java / org / openecomp / aai / logging / ErrorLogHelper.java
index 919029a..23e4f60 100644 (file)
@@ -581,7 +581,7 @@ public class ErrorLogHelper {
                                                                                        .append(e.getMessage())
                                                                                        .toString();
 
-               LoggingContext.responseCode(errorObject.getErrorCodeString());
+               LoggingContext.responseCode(Integer.toString(errorObject.getHTTPResponseCode().getStatusCode()));
                LoggingContext.responseDescription(errorMessage);
                LoggingContext.statusCode(StatusCode.ERROR);