Bug 179551 [Undo] DefaultOperationHistory should write exceptions to log when running in Eclipse
I20070323-1616 DefaultOperationHistory#handleNotificationException(..) should write exceptions to the log when running in Eclipse. Bugs like 176644 are easy to miss when exceptions only appear on the console.
bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/DefaultOperationHistory.java
if (DEBUG_OPERATION_HISTORY_DISPOSE) {
			Tracing.printTrace("OPERATIONHISTORY", "Flushing undo history for " 
					+ context);
		}
		
		Object[] filtered = filter(undoList, context);
		for (int i = 0; i < filtered.length; i++) {
			IUndoableOperation operation = (IUndoableOperation) filtered[i];
			if (context == GLOBAL_UNDO_CONTEXT
					|| operation.getContexts().length == 1) {
				
				
				undoList.remove(operation);
				internalRemove(operation);
			} else {
				  
				
				
				
				IUndoContext[] contexts = operation.getContexts();
				for (int j=0; j<contexts.length; j++) {
					if (contexts[j].matches(context)) {
						operation.removeContext(contexts[j]);
					}
				}
				if (operation.getContexts().length == 0) {
					undoList.remove(operation);
					internalRemove(operation);
				}
			}