소스 검색

修复 channel 读取时候可能出现的异常情况

Signed-off-by: allan716 <[email protected]>
allan716 3 년 전
부모
커밋
f702332bcd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      internal/backend/controllers/base/path_things.go

+ 1 - 1
internal/backend/controllers/base/path_things.go

@@ -11,7 +11,7 @@ import (
 	"github.com/gin-gonic/gin"
 )
 
-func (cb ControllerBase) CheckPathHandler(c *gin.Context) {
+func (cb *ControllerBase) CheckPathHandler(c *gin.Context) {
 	var err error
 	defer func() {
 		// 统一的异常处理