Extra logging for toolwindow EA-36895

This commit is contained in:
Shaverdova Elena
2012-06-29 15:08:42 +04:00
parent e73944059a
commit 082aa3e06d
@@ -1361,7 +1361,12 @@ public final class ToolWindowManagerImpl extends ToolWindowManagerEx implements
Disposer.register(getProject(), balloon);
final StripeButton button = stripe.getButtonFor(toolWindowId);
LOG.assertTrue(button != null, "Button was not found, popup won't be shown");
LOG.assertTrue(button != null, "Button was not found, popup won't be shown. Toolwindow id: " +
toolWindowId +
", message: " +
text +
", message type: " +
type);
if (button == null) return;
final Runnable show = new Runnable() {