summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-05-22 09:37:01 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-05-22 09:37:01 +0200
commitfbbcd6cedc47e45f6a2aaae708be194731a0139b (patch)
tree97c04345157f5372a5434147ca906a38bd8cbfe8 /lib
parentf40562dc1f94d7748c7ab3ed3d1ef089e7c937bc (diff)
Fix crash when retrieving installed sdks.
Diffstat (limited to 'lib')
-rw-r--r--lib/crosssdk/sdks.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/crosssdk/sdks.go b/lib/crosssdk/sdks.go
index 87bb85d..abfef82 100644
--- a/lib/crosssdk/sdks.go
+++ b/lib/crosssdk/sdks.go
@@ -39,6 +39,7 @@ func Init(cfg *xdsconfig.Config, log *logrus.Logger) (*SDKs, error) {
sdk, err := NewCrossSDK(d)
if err != nil {
log.Debugf("Error while processing SDK dir=%s, err=%s", d, err.Error())
+ continue
}
s.Sdks = append(s.Sdks, *sdk)
}