summaryrefslogtreecommitdiff
path: root/exit.go
diff options
context:
space:
mode:
Diffstat (limited to 'exit.go')
-rw-r--r--exit.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/exit.go b/exit.go
index c57e525..1155858 100644
--- a/exit.go
+++ b/exit.go
@@ -23,11 +23,11 @@ func okExit(thing string) {
}
func badExit(err error) {
- log.Info("forge failed: ", err, me.forge.GetGoSrc())
+ log.Info("forge failed: ", err, me.forge.Config.ReposDir)
os.Exit(-1)
}
func badRepoExit(repo *gitpb.Repo, err error) {
- log.Printf("forge failed on %s with %v\n", repo.GetGoPath(), err)
+ log.Printf("forge failed on %s with %v\n", repo.GetNamespace(), err)
os.Exit(-1)
}