Skip to content

Commit

Permalink
EPMRPP-86199 || Add common Not found error
Browse files Browse the repository at this point in the history
  • Loading branch information
APiankouski committed Sep 7, 2023
1 parent daa3d15 commit 12ce5d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 12ce5d4

Please sign in to comment.