logging for EA-49541 - assert: FileReference.rename

This commit is contained in:
Anna Kozlova
2013-09-05 16:07:45 +04:00
parent 5a3cc7c463
commit ed2cc9bbae
@@ -486,7 +486,7 @@ public class FileReference implements PsiFileReference, FileReferenceOwner, PsiP
return CachingReference.getManipulator(element).handleContentChange(element, range, newName);
}
catch (IncorrectOperationException e) {
LOG.error("Cannot rename " + getClass() + " from " + myFileReferenceSet.getClass() + " to " + newName);
LOG.error("Cannot rename " + getClass() + " from " + myFileReferenceSet.getClass() + " to " + newName, e);
throw e;
}
}