Commit 8cb28415 authored by Thomas Mortagne's avatar Thomas Mortagne
Browse files

XRENDERING-621: Make rendering errors translatables and extendables

* fix mistake
parent 8a6e913d
......@@ -109,8 +109,7 @@ protected List<Block> generateErrorBlocks(boolean inline, LogEvent message, LogE
errorBlocks.add(new FormatBlock(descriptionChildren, Format.NONE, errorDescriptionBlockParams));
}
} else {
errorBlocks
.add(new GroupBlock(Arrays.asList(new WordBlock(message.getFormattedMessage())), errorBlockParams));
errorBlocks.add(new GroupBlock(Arrays.asList(new WordBlock(messageBuilder.toString())), errorBlockParams));
if (!descriptionChildren.isEmpty()) {
errorBlocks.add(new GroupBlock(descriptionChildren, errorDescriptionBlockParams));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment