\r
#### fixes\r
\r
+- Wrapped Markdown parser with improved exception handler (issue 142)\r
- Fixed duplicate entries in repository cache (issue 140)\r
- Fixed connection leak in LDAPUserService (issue 139)\r
- Fixed bug in commit page where changes to a submodule threw a null pointer exception (issue 132)\r
Markdown md = new Markdown();\r
md.transform(markdownReader, writer);\r
return writer.toString().trim();\r
+ } catch (StringIndexOutOfBoundsException e) {\r
+ LoggerFactory.getLogger(MarkdownUtils.class).error("MarkdownPapers failed to parse Markdown!", e);\r
+ throw new java.text.ParseException(e.getMessage(), 0);\r
} catch (ParseException p) {\r
LoggerFactory.getLogger(MarkdownUtils.class).error("MarkdownPapers failed to parse Markdown!", p);\r
throw new java.text.ParseException(p.getMessage(), 0);\r
+ } catch (Exception e) {\r
+ LoggerFactory.getLogger(MarkdownUtils.class).error("MarkdownPapers failed to parse Markdown!", e);\r
+ throw new java.text.ParseException(e.getMessage(), 0);\r
} finally {\r
try {\r
writer.close();\r