Skip to content

Commit

Permalink
extra debug
Browse files Browse the repository at this point in the history
  • Loading branch information
zuzuleinen committed Dec 16, 2022
1 parent 3791569 commit a92a4b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bob/playbook/compute_buildinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ import (
func (p *Playbook) computeBuildinfo(taskname string) (_ *buildinfo.I, err error) {
defer errz.Recover(&err)

fmt.Println("computeBuildinfo", taskname)

task, ok := p.Tasks[taskname]
if !ok {
return nil, usererror.Wrap(boberror.ErrTaskDoesNotExistF(taskname))
Expand Down
2 changes: 2 additions & 0 deletions pkg/buildinfostore/protostore.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ func (ps *ps) NewBuildInfo(id string, info *buildinfo.I) (err error) {
func (ps *ps) GetBuildInfo(id string) (info *buildinfo.I, err error) {
defer errz.Recover(&err)

fmt.Println("GetBuildInfo", id, filepath.Join(ps.dir, id))

f, err := os.Open(filepath.Join(ps.dir, id))
if err != nil {
return nil, ErrBuildInfoDoesNotExist
Expand Down

0 comments on commit a92a4b5

Please sign in to comment.