You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2016/09/27 18:48:02 UTC

incubator-mynewt-newt git commit: newt; error was not propagated properly when loading packages

Repository: incubator-mynewt-newt
Updated Branches:
  refs/heads/develop 9f6f9d9e8 -> ef9340a00


newt; error was not propagated properly when loading packages


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/ef9340a0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/ef9340a0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/ef9340a0

Branch: refs/heads/develop
Commit: ef9340a0021b39e9cf240ea6e8ce77075bddd227
Parents: 9f6f9d9
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Tue Sep 27 11:46:25 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Tue Sep 27 11:46:25 2016 -0700

----------------------------------------------------------------------
 newt/pkg/localpackage.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/ef9340a0/newt/pkg/localpackage.go
----------------------------------------------------------------------
diff --git a/newt/pkg/localpackage.go b/newt/pkg/localpackage.go
index 86c5777..19cd3b1 100644
--- a/newt/pkg/localpackage.go
+++ b/newt/pkg/localpackage.go
@@ -417,7 +417,7 @@ func ReadLocalPackages(repo *repo.Repo,
 		for _, subDir := range dirList {
 			if err := ReadLocalPackageRecursive(repo, pkgList, basePath,
 				filepath.Join(path, subDir)); err != nil {
-				return nil, util.NewNewtError(err.Error())
+				return nil, err
 			}
 		}
 	}