1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-08-13 14:17:07 +02:00

Better errors reporting

This commit is contained in:
Oleg Shpynov
2011-03-21 11:35:05 +03:00
parent aab59021a2
commit 8bc7eb4d91

@@ -81,9 +81,9 @@ public class VimKeyMapUtil {
Notifications.Bus.notify(new Notification("ideavim", "IdeaVim", "Successfully installed vim keymap", NotificationType.INFORMATION));
}
catch (Exception e) {
LOG.debug("Failed to install vim keymap.\n" + e.getMessage());
LOG.debug("Failed to install vim keymap.\n" + e);
Notifications.Bus
.notify(new Notification("ideavim", "IdeaVim", "Failed to install vim keymap.\n" + e.getMessage(), NotificationType.ERROR));
.notify(new Notification("ideavim", "IdeaVim", "Failed to install vim keymap.\n" + e, NotificationType.ERROR));
return;
}
}
@@ -168,9 +168,9 @@ public class VimKeyMapUtil {
configureVimParentKeymap(path, document);
}
catch (Exception e) {
LOG.debug("Failed to reconfigure vim keymap.\n" + e.getMessage());
LOG.debug("Failed to reconfigure vim keymap.\n" + e);
Notifications.Bus
.notify(new Notification("ideavim", "IdeaVim", "Failed to reconfigure vim keymap.\n" + e.getMessage(), NotificationType.ERROR));
.notify(new Notification("ideavim", "IdeaVim", "Failed to reconfigure vim keymap.\n" + e, NotificationType.ERROR));
}
}