This is an automated email from the ASF dual-hosted git repository.

ruinova pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-go-samples.git


The following commit(s) were added to refs/heads/main by this push:
     new 310e9d0f refactor simplify server initialization and registration 
(#903)
310e9d0f is described below

commit 310e9d0fa453243224b0934f7add2b48b3a33fd5
Author: KamTo Hung <[email protected]>
AuthorDate: Fri Oct 17 21:46:50 2025 +0800

    refactor simplify server initialization and registration (#903)
    
    * refactor main.go to simplify server initialization and registration
---
 rpc/multi-protocols/go-client/cmd/main.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/rpc/multi-protocols/go-client/cmd/main.go 
b/rpc/multi-protocols/go-client/cmd/main.go
index 92742e0e..acc26b01 100644
--- a/rpc/multi-protocols/go-client/cmd/main.go
+++ b/rpc/multi-protocols/go-client/cmd/main.go
@@ -42,17 +42,17 @@ func main() {
                panic(err)
        }
 
-       // Call services using different protocols
+       // Call services with different protocols
        if err := callTripleService(ins); err != nil {
-               logger.Error(err)
+               panic(err)
        }
 
        if err := callDubboService(ins); err != nil {
-               logger.Error(err)
+               panic(err)
        }
 
        if err := callJsonRpcService(ins); err != nil {
-               logger.Error(err)
+               panic(err)
        }
 }
 

Reply via email to