自定义页面支持用户操作

This commit is contained in:
GoEdgeLab
2022-03-31 15:30:04 +08:00
parent 6bc1441c99
commit 51c1a812be
3 changed files with 49 additions and 12 deletions

View File

@@ -622,5 +622,9 @@ func (this *APINode) unaryInterceptor(ctx context.Context, req interface{}, info
return
}
return handler(ctx, req)
result, err := handler(ctx, req)
if err != nil {
err = errors.New("'" + info.FullMethod + "()' says: " + err.Error())
}
return result, err
}