From cd17df2fdc84c5e0d24a95c087f723cad160ec5a Mon Sep 17 00:00:00 2001 From: Manuel Soulier Date: Tue, 2 Jan 2024 16:28:23 +0100 Subject: [PATCH] feat: fail batch now exits with functionnal warning --- CHANGELOG.md | 6 ++++-- arc-batch/src/main/java/fr/insee/arc/batch/BatchARC.java | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ec7ac560..cae48b92e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,14 @@ ## TODO List - security in vobject input field -- check that family name match family tables on rules import All notable changes to this project will be documented in this file. +## version-93.1.32b +- batch failed with functional warning + ## version-93.1.31b -- upload mapping rules now corresponding to model declared variables +- upload mapping rules now the model declared variables ## version-93.1.30b - scalable data retrieval webservice diff --git a/arc-batch/src/main/java/fr/insee/arc/batch/BatchARC.java b/arc-batch/src/main/java/fr/insee/arc/batch/BatchARC.java index f96217ee4..141842ee3 100644 --- a/arc-batch/src/main/java/fr/insee/arc/batch/BatchARC.java +++ b/arc-batch/src/main/java/fr/insee/arc/batch/BatchARC.java @@ -221,7 +221,7 @@ void execute() { } catch (Exception ex) { LoggerHelper.errorGenTextAsComment(BatchARC.class, "main()", LOGGER, ex); - System.exit(STATUS_FAILURE_TECHNICAL_WARNING); + System.exit(STATUS_FAILURE_FUNCTIONAL_WARNING); } message("Fin du batch");