Do not map not found exception manually

This commit is contained in:
René Pfeuffer
2019-03-04 14:09:48 +01:00
parent 9b6063c4c5
commit 768915c75a

View File

@@ -80,8 +80,6 @@ public class BranchRootResource {
.build();
} catch (CommandNotSupportedException ex) {
return Response.status(Response.Status.BAD_REQUEST).build();
} catch (NotFoundException e) {
return Response.status(Response.Status.NOT_FOUND).build();
}
}