working on debug output
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -98,7 +98,7 @@ public class Util {
|
|||||||
return MARKDOWN.text(source);
|
return MARKDOWN.text(source);
|
||||||
} catch (Exception e){
|
} catch (Exception e){
|
||||||
if (LOG.isLoggable(TRACE)){
|
if (LOG.isLoggable(TRACE)){
|
||||||
LOG.log(TRACE,"Failed to render markdown, input was: \n{0}",source);
|
LOG.log(TRACE,"Failed to render markdown, input was: \n{0}",source,e);
|
||||||
} else LOG.log(WARNING,"Failed to render markdown. Enable TRACE log level for details.");
|
} else LOG.log(WARNING,"Failed to render markdown. Enable TRACE log level for details.");
|
||||||
return source;
|
return source;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user