Add diagnostic info

This commit is contained in:
Alexander Zolotov
2014-12-05 18:24:44 +03:00
parent f5d9d4bf36
commit d4fc051fd0
@@ -1112,7 +1112,7 @@ public class TemplateState implements Disposable {
// and reformat wouldn't be able to fix them
if (myTemplate.isToIndent()) {
if (!myTemplateIndented) {
LOG.assertTrue(myTemplateRange.isValid());
LOG.assertTrue(myTemplateRange.isValid(), presentTemplate(myTemplate));
smartIndent(myTemplateRange.getStartOffset(), myTemplateRange.getEndOffset());
myTemplateIndented = true;
}