diff options
Diffstat (limited to 'aai-els-onap-logging/src/main')
-rw-r--r-- | aai-els-onap-logging/src/main/java/org/onap/aai/logging/ErrorLogHelper.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/aai-els-onap-logging/src/main/java/org/onap/aai/logging/ErrorLogHelper.java b/aai-els-onap-logging/src/main/java/org/onap/aai/logging/ErrorLogHelper.java index 97548d99..bb2fe268 100644 --- a/aai-els-onap-logging/src/main/java/org/onap/aai/logging/ErrorLogHelper.java +++ b/aai-els-onap-logging/src/main/java/org/onap/aai/logging/ErrorLogHelper.java @@ -383,8 +383,7 @@ public class ErrorLogHelper { } private static ErrorObject getRestErrorObject(AAIException aaiException) { - final int restErrorCode = Integer.parseInt(aaiException.getErrorObject().getRESTErrorCode()); - return ErrorLogHelper.getErrorObject("AAI_" + restErrorCode); + return ErrorLogHelper.getErrorObject("AAI_" + aaiException.getErrorObject().getRESTErrorCode()); } public static Fault createPolicyFault(AAIException aaiException, String text, List<String> variables) { |