Skip to content

Commit

Permalink
Merge pull request #10360 from dmcgowan/keyfile-error-message
Browse files Browse the repository at this point in the history
Add file path to errors loading the key file
  • Loading branch information
crosbymichael committed Jan 26, 2015
2 parents bfa0dc4 + a90e91b commit e15300b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func LoadOrCreateTrustKey(trustKeyPath string) (libtrust.PrivateKey, error) {
return nil, fmt.Errorf("Error saving key file: %s", err)
}
} else if err != nil {
return nil, fmt.Errorf("Error loading key file: %s", err)
return nil, fmt.Errorf("Error loading key file %s: %s", trustKeyPath, err)
}
return trustKey, nil
}

0 comments on commit e15300b

Please sign in to comment.