Skip to content

Commit 270edf2

Browse files
authored
Merge pull request #1911 from Haehnchen/feature/1509-catch
#1509 catch xlf parser exception
2 parents 919c223 + 6a67c4b commit 270edf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/fr/adrienbrault/idea/symfony2plugin/translation/dict/TranslationUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ private static void visitXliffTranslations(@NotNull InputStream content, @NotNul
334334
try {
335335
DocumentBuilder documentBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
336336
document = documentBuilder.parse(content);
337-
} catch (ParserConfigurationException | SAXException | IOException e) {
337+
} catch (ParserConfigurationException | SAXException | ArrayIndexOutOfBoundsException | IOException e) {
338338
return;
339339
}
340340

0 commit comments

Comments
 (0)