feat: improved usage of logging package
This commit is contained in:
parent
b6b2704636
commit
e5f4eac99d
1 changed files with 2 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ func main() {
|
||||||
// check for git
|
// check for git
|
||||||
err := verifyGitAvailable()
|
err := verifyGitAvailable()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logging.Fatal("git not found in path: %v", err)
|
logging.Fatal("VALIDATION: git not found in path", err)
|
||||||
}
|
}
|
||||||
logging.Print("VALIDATION: git found in path", nil)
|
logging.Print("VALIDATION: git found in path", nil)
|
||||||
|
|
||||||
|
|
@ -50,7 +50,7 @@ func main() {
|
||||||
// fetch repository information from gitlab
|
// fetch repository information from gitlab
|
||||||
repositories, err := fetchRepositoriesGitlab()
|
repositories, err := fetchRepositoriesGitlab()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logging.Fatal("FATAL: %v", err)
|
logging.Fatal("Fetching repositories failed", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// manage found repositories
|
// manage found repositories
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue