mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
commitDocument exceptions shouldn't fail the entire save (IDEA-101980)
This commit is contained in:
@@ -819,7 +819,12 @@ public class PsiDocumentManagerImpl extends PsiDocumentManager implements Projec
|
||||
// Ensure all documents are committed on save so file content dependent indices, that use PSI to build have consistent content.
|
||||
UIUtil.invokeLaterIfNeeded(new Runnable() {
|
||||
public void run() {
|
||||
commitAllDocuments();
|
||||
try {
|
||||
commitAllDocuments();
|
||||
}
|
||||
catch (Exception e) {
|
||||
LOG.error(e);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user