In command function only log OperationFailure 

Only OperationFailure should be logged all other exceptions should be raised as normal