Skip to content

Commit c235ccf

Browse files
author
Alexander Kozlov
committed
Remove special catch for IOException
DEVSIX-5847
1 parent 51dfc57 commit c235ccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdfocr-tesseract4/src/main/java/com/itextpdf/pdfocr/tesseract4/TesseractHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ static void runCommand(final String execPath,
394394
PdfOcrTesseract4ExceptionMessageConstant
395395
.TESSERACT_FAILED);
396396
}
397-
} catch (IOException | InterruptedException e) { // NOSONAR
397+
} catch (Exception e) { // NOSONAR
398398
LOGGER.error(MessageFormatUtil
399399
.format(Tesseract4LogMessageConstant.COMMAND_FAILED,
400400
e.getMessage()));

0 commit comments

Comments
 (0)