RED-9472: seperation of system rules #776

Open
yannik.hampe wants to merge 100 commits from feature/RED-9472 into master
Showing only changes of commit 3ca8773b6a - Show all commits

View File

@ -94,6 +94,7 @@ public class RulesController implements RulesResource {
} catch (FeignException e) {
if (e.status() == HttpStatus.BAD_REQUEST.value()) {
log.info("exception: " + e);
throw new BadRequestException("The provided rule file is not a valid drools rule file!");
}
throw new BadRequestException("Failed to merge rules: " + e.getMessage());