Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Report error, if it can't create a package #75

Merged
merged 1 commit into from
Oct 19, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion save.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func save(pkgName, goPath, nixFile string, depsFile string, testImports bool, bu
for _, dep := range deps {
p, err := NewPackage(dep, goPath)
if err != nil {
return fmt.Errorf("Can't create package for: %v", dep)
return fmt.Errorf("Can't create package for: %v, %v", dep, err)
}
if p == nil || p.VcsRepo == pkg.VcsRepo {
continue
Expand Down