1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-12 10:45:37 +02:00

Log exceptions during content assist (see bug 188324)

This commit is contained in:
Anton Leherbauer 2007-05-23 11:49:30 +00:00
parent d48e1ca3fa
commit 47da7cb369

View file

@ -23,6 +23,7 @@ import org.eclipse.jface.text.contentassist.ICompletionProposal;
import org.eclipse.jface.text.contentassist.IContextInformation;
import org.eclipse.cdt.core.dom.ast.IASTCompletionNode;
import org.eclipse.cdt.ui.CUIPlugin;
import org.eclipse.cdt.ui.text.contentassist.ContentAssistInvocationContext;
import org.eclipse.cdt.ui.text.contentassist.ICompletionProposalComputer;
@ -53,6 +54,7 @@ public abstract class ParsingBasedProposalComputer implements ICompletionProposa
}
} catch (Throwable e) {
fErrorMessage = e.toString();
CUIPlugin.getDefault().log(e);
}
return Collections.EMPTY_LIST;