diff --git a/modules/setting/git.go b/modules/setting/git.go
index 9136ea7f17ac..d696f5f18af7 100644
--- a/modules/setting/git.go
+++ b/modules/setting/git.go
@@ -65,7 +65,7 @@ func newGit() {
 		log.Fatal("Failed to map Git settings: %v", err)
 	}
 	if err := git.SetExecutablePath(Git.Path); err != nil {
-		log.Fatal("Failed to initialize Git settings", err)
+		log.Fatal("Failed to initialize Git settings: %v", err)
 	}
 	git.DefaultCommandExecutionTimeout = time.Duration(Git.Timeout.Default) * time.Second