Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RecoverFromPanic (0.84 sec)

  1. pkg/volume/util/types/types.go

    			Migrated: &context.Migrated,
    		}
    		defer o.CompleteFunc(c)
    	}
    	if o.EventRecorderFunc != nil {
    		defer o.EventRecorderFunc(&eventErr)
    	}
    	// Handle panic, if any, from operationFunc()
    	defer runtime.RecoverFromPanic(&detailedErr)
    
    	context = o.OperationFunc()
    	return context.EventErr, context.DetailedErr
    }
    
    // FailedPrecondition error indicates CSI operation returned failed precondition
    // error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 17:23:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. pkg/util/goroutinemap/goroutinemap.go

    		defer k8sRuntime.HandleCrash()
    		// Handle completion of and error, if any, from operationFunc()
    		defer grm.operationComplete(operationName, &err)
    		// Handle panic, if any, from operationFunc()
    		defer k8sRuntime.RecoverFromPanic(&err)
    		return operationFunc()
    	}()
    
    	return nil
    }
    
    // operationComplete handles the completion of a goroutine run in the
    // goRoutineMap.
    func (grm *goRoutineMap) operationComplete(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 16 11:54:27 UTC 2020
    - 6.8K bytes
    - Viewed (0)
Back to top