Skip to content
This repository has been archived by the owner on Jun 20, 2018. It is now read-only.

Commit

Permalink
even better error
Browse files Browse the repository at this point in the history
  • Loading branch information
bmizerany committed Jun 21, 2012
1 parent a4eb9e4 commit 037108f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Expand Up @@ -131,7 +131,8 @@ func app() (string, error) {
b, err := exec.Command("git", "config", "remote.heroku.url").Output()
if err != nil {
if isNotFound(err) {
return "", fmt.Errorf("could not find git remote heroku")
wdir, _ := os.Getwd()
return "", fmt.Errorf("could not find git remote heroku in %s", wdir)
}
return "", err
}
Expand Down

0 comments on commit 037108f

Please sign in to comment.