diff --git a/platform/util/src/com/intellij/openapi/util/objectTree/ObjectTree.java b/platform/util/src/com/intellij/openapi/util/objectTree/ObjectTree.java index bfd8e5bca347..d8612df82ef1 100644 --- a/platform/util/src/com/intellij/openapi/util/objectTree/ObjectTree.java +++ b/platform/util/src/com/intellij/openapi/util/objectTree/ObjectTree.java @@ -202,7 +202,7 @@ public final class ObjectTree { objectNode = objectNode.getParent(); } final Throwable trace = objectNode.getTrace(); - RuntimeException exception = new RuntimeException("Memory leak detected: " + object + " of class " + object.getClass() + RuntimeException exception = new RuntimeException("Memory leak detected: '" + object + "' of " + object.getClass() + "\nSee the cause for the corresponding Disposer.register() stacktrace:\n", trace); if (throwError) {