You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ti...@apache.org on 2021/02/07 09:22:27 UTC

[servicecomb-service-center] branch master updated: [SCB-2094] Fix initialization does not print detail error (#850)

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

tianxiaoliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-service-center.git


The following commit(s) were added to refs/heads/master by this push:
     new 2dd63c3  [SCB-2094] Fix initialization does not print detail error (#850)
2dd63c3 is described below

commit 2dd63c3885695507f6ea86320ed225f5cfa36060
Author: robotLJW <79...@qq.com>
AuthorDate: Sun Feb 7 17:22:20 2021 +0800

    [SCB-2094] Fix initialization does not print detail error (#850)
---
 server/server.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/server.go b/server/server.go
index 5440e9e..174b9b2 100644
--- a/server/server.go
+++ b/server/server.go
@@ -117,7 +117,7 @@ func (s *ServiceCenterServer) initDatasource() {
 		CompactInterval:   config.GetRegistry().CompactInterval,
 		CompactIndexDelta: config.GetRegistry().CompactIndexDelta,
 	}); err != nil {
-		log.Fatalf(err, "init datasource failed")
+		log.Fatal("init datasource failed", err)
 	}
 }