diff options
Diffstat (limited to 'bug/clocks.go')
-rw-r--r-- | bug/clocks.go | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/bug/clocks.go b/bug/clocks.go index 5ffa094a..47cd1509 100644 --- a/bug/clocks.go +++ b/bug/clocks.go @@ -12,8 +12,15 @@ func Witnesser(repo *repository.GitRepo) error { return b.Err } - repo.CreateWitness(b.Bug.createTime) - repo.EditWitness(b.Bug.editTime) + err := repo.CreateWitness(b.Bug.createTime) + if err != nil { + return err + } + + err = repo.EditWitness(b.Bug.editTime) + if err != nil { + return err + } } return nil |