summaryrefslogtreecommitdiff
path: root/pkg/gui/util-textstyle.go
diff options
context:
space:
mode:
authorİbrahim Serdar Açıkgöz <serdaracikgoz86@gmail.com>2019-01-03 18:04:25 +0300
committerİbrahim Serdar Açıkgöz <serdaracikgoz86@gmail.com>2019-01-03 18:04:25 +0300
commitf2f2c1bb18b2f7236f5ede917b1eacdd422cbd5b (patch)
tree69a14914ca83dc08bb02169e2988960e361525f0 /pkg/gui/util-textstyle.go
parentsuperfast job handling and failover for auth added (diff)
downloadgitbatch-f2f2c1bb18b2f7236f5ede917b1eacdd422cbd5b.tar.gz
error messages and semaphores added
Diffstat (limited to '')
-rw-r--r--pkg/gui/util-textstyle.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/util-textstyle.go b/pkg/gui/util-textstyle.go
index 1bb3635..c42857b 100644
--- a/pkg/gui/util-textstyle.go
+++ b/pkg/gui/util-textstyle.go
@@ -103,9 +103,9 @@ func (gui *Gui) repositoryLabel(e *git.RepoEntity) string {
} else if e.State() == git.Success {
return prefix + repoName + ws + green.Sprint(successSymbol)
} else if e.State() == git.Paused {
- return prefix + repoName + ws + yellow.Sprint("auth required (u)")
+ return prefix + repoName + ws + yellow.Sprint("authentication required (u)")
} else if e.State() == git.Fail {
- return prefix + repoName + ws + red.Sprint(failSymbol)
+ return prefix + repoName + ws + red.Sprint(failSymbol) + ws + red.Sprint(e.Message)
}
return prefix + repoName
}