diff --git a/build.gradle b/build.gradle index c45f22c..7e357f6 100644 --- a/build.gradle +++ b/build.gradle @@ -50,7 +50,7 @@ dependencies { if (releaseMode) { compile 'com.epam.reportportal:commons-model' } else { - compile 'com.github.reportportal:commons-model:232e69a5' + compile 'com.github.reportportal:commons-model:c94a391' } compile 'org.slf4j:slf4j-api' diff --git a/src/main/java/com/epam/ta/reportportal/commons/exception/rest/StatusCodeMapping.java b/src/main/java/com/epam/ta/reportportal/commons/exception/rest/StatusCodeMapping.java index 8708a97..384d8c5 100644 --- a/src/main/java/com/epam/ta/reportportal/commons/exception/rest/StatusCodeMapping.java +++ b/src/main/java/com/epam/ta/reportportal/commons/exception/rest/StatusCodeMapping.java @@ -38,6 +38,7 @@ private StatusCodeMapping() { private static final long serialVersionUID = 1L; { + put(ErrorType.NOT_FOUND, HttpStatus.NOT_FOUND); put(ErrorType.PROJECT_NOT_FOUND, HttpStatus.NOT_FOUND); put(ErrorType.LAUNCH_NOT_FOUND, HttpStatus.NOT_FOUND); put(ErrorType.TEST_ITEM_NOT_FOUND, HttpStatus.NOT_FOUND);