boolean () { try { mySaver.saveLocalChanges(myRootsToSave); return true; } catch (VcsException e) { LOG.info("Couldn't save local changes", e); VcsNotifier.getInstance(myProject).notifyError( COULD_NOT_SAVE_UNCOMMITTED_CHANGES, GitBundle.message("save.notification.failed.title"), mySaver.getSaveMethod().selectBundleMessage( GitBundle.message("save.notification.failed.stash.text", myOperationTitle, join(e.getMessages())), GitBundle.message("save.notification.failed.shelf.text", myOperationTitle, join(e.getMessages())) ) ); return false; } }