From a6cff6cc3dcb549ef19d3141316036e73fec57e1 Mon Sep 17 00:00:00 2001 From: "Vassiliy.Kudryashov" Date: Thu, 30 Mar 2017 23:10:23 +0300 Subject: [PATCH] IDEA-170688 Assertion failed [just made logging more informative] Signed-off-by: Vassiliy.Kudryashov --- .../src/com/intellij/openapi/editor/impl/EditorImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/openapi/editor/impl/EditorImpl.java b/platform/platform-impl/src/com/intellij/openapi/editor/impl/EditorImpl.java index 8af1eb33f1a8..d3905ab5211f 100644 --- a/platform/platform-impl/src/com/intellij/openapi/editor/impl/EditorImpl.java +++ b/platform/platform-impl/src/com/intellij/openapi/editor/impl/EditorImpl.java @@ -4265,7 +4265,7 @@ public final class EditorImpl extends UserDataHolderBase implements EditorEx, Hi editor.putUserData(LAST_PASTED_REGION, null); EditorActionHandler pasteHandler = EditorActionManager.getInstance().getActionHandler(IdeActions.ACTION_EDITOR_PASTE); - LOG.assertTrue(pasteHandler instanceof EditorTextInsertHandler); + LOG.assertTrue(pasteHandler instanceof EditorTextInsertHandler, String.valueOf(pasteHandler)); ((EditorTextInsertHandler)pasteHandler).execute(editor, editor.getDataContext(), () -> t); TextRange range = editor.getUserData(LAST_PASTED_REGION);