mbedtls: Display exceptions on issue 17/17417/4
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 22 Feb 2017 01:33:02 +0000 (02:33 +0100)
committerGreg Zaverucha <gregz@microsoft.com>
Fri, 31 Mar 2017 01:09:29 +0000 (01:09 +0000)
To help to understand instability issues:

https://build.iotivity.org/ci/job/iotivity-verify-tizen/8815/

Observed message is:

  mbedtls SConscript: cannot copy
  /home/abuild/rpmbuild/BUILD/iotivity-1.2.0/extlibs/mbedtls/config-iotivity.
h
  to
  /home/abuild/rpmbuild/BUILD/iotivity-1.2.0/extlibs/mbedtls/mbedtls/include/
mbedtls/config.h

Change-Id: I08504251bd7768ff237bb757b82fc6d17d8f6dde
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17417
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Pawel Winogrodzki <pawelwi@microsoft.com>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Reviewed-by: Greg Zaverucha <gregz@microsoft.com>
extlibs/mbedtls/SConscript

index e53a78b..6965821 100644 (file)
@@ -95,6 +95,7 @@ try:
     copyfile(iotivity_config, mbedtls_config)
 except:
     print 'mbedtls SConscript: cannot copy ' + iotivity_config + ' to ' + mbedtls_config
+    print 'error: ' + str(sys.exc_info()[0])
     Exit(1)
 else:
     print 'Copied IoTivity version of config.h to ' + mbedtls_config