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
IOperationApprover2 approver = (IOperationApprover2) approverArray[i];
				IStatus approval = approver.proceedExecuting(operation, this,
						info);
				if (!approval.isOK()) {
					if (DEBUG_OPERATION_HISTORY_APPROVAL) {
						Tracing.printTrace("OPERATIONHISTORY", 
								"Execute not approved by " + approver 
										+ "for operation " + operation 
										+ " with status " + approval); 
					}
					return approval;
				}
			}
		}
		return Status.OK_STATUS;
	}
	/*
	 * Remove the operation by disposing it and notifying listeners.
	 */
	private void internalRemove(IUndoableOperation operation) {
		operation.dispose();
		notifyRemoved(operation);
	}
	/*
	 * Notify listeners of an operation event.
	 */
	private void notifyListeners(OperationHistoryEvent event) {
		preNotifyOperation(event.getOperation(), event);