diff --git a/cmd/semantic-release/main.go b/cmd/semantic-release/main.go
index 0249208f964405cd8559a8fd07a10f3898a91825..7608b8a06c30e6bc7cdc91234fac053436648414 100644
--- a/cmd/semantic-release/main.go
+++ b/cmd/semantic-release/main.go
@@ -315,10 +315,7 @@ func cliHandler(cmd *cobra.Command, args []string) {
 		Changelog: changelogRes,
 		RepoInfo:  repoInfo,
 	})
-
-	if herr != nil {
-		logger.Printf("there was an error executing the hooks plugins: %s", herr.Error())
-	}
+	exitIfError(herr)
 
 	logger.Println("done.")
 }