aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/core/config.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-02-08 22:08:35 +0100
committerMichael Muré <batolettre@gmail.com>2020-02-08 22:08:35 +0100
commit9b1aaa032d36e1ac05504916e359f767d1622d9d (patch)
treee30bb28d55444a7d1e66c8fa8b8ba7d413805473 /bridge/core/config.go
parentbef35d4c679de81a214c99a30916fa7ebfc3f6a8 (diff)
downloadgit-bug-9b1aaa032d36e1ac05504916e359f767d1622d9d.tar.gz
bridge: fix 2 uncatched errors
Diffstat (limited to 'bridge/core/config.go')
-rw-r--r--bridge/core/config.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/bridge/core/config.go b/bridge/core/config.go
index 8d306ef6..afcda560 100644
--- a/bridge/core/config.go
+++ b/bridge/core/config.go
@@ -33,6 +33,9 @@ func FinishConfig(repo *cache.RepoCache, metaKey string, login string) error {
i, err := repo.NewIdentityFromGitUserRaw(map[string]string{
metaKey: login,
})
+ if err != nil {
+ return err
+ }
err = repo.SetUserIdentity(i)
if err != nil {