mirror of
https://github.com/apache/nifi.git
synced 2025-03-03 16:09:19 +00:00
NIFI-13466 Catch IllegalStateException in SplitExcel
This closes #9033 Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
15e5193099
commit
b2840bd851
@ -174,7 +174,7 @@ public class SplitExcel extends AbstractProcessor {
|
||||
index++;
|
||||
}
|
||||
});
|
||||
} catch (ExcelRuntimeException | ProcessException e) {
|
||||
} catch (ExcelRuntimeException | IllegalStateException | ProcessException e) {
|
||||
getLogger().error("Failed to split {}", originalFlowFile, e);
|
||||
session.remove(workbookSplits.stream()
|
||||
.map(WorkbookSplit::content)
|
||||
|
Loading…
x
Reference in New Issue
Block a user