Copy log file back to host
authorhyokeun <hyokeun.jeon@samsung.com>
Fri, 23 Jun 2017 04:53:34 +0000 (13:53 +0900)
committerhyokeun <hyokeun.jeon@samsung.com>
Fri, 23 Jun 2017 04:53:34 +0000 (13:53 +0900)
Change-Id: If83931214e78bc15d68f133cd116787da2a6c083

abs

diff --git a/abs b/abs
index 668453a..42488a2 100755 (executable)
--- a/abs
+++ b/abs
@@ -374,9 +374,10 @@ class Sdk(object):
             with open(logpath, 'w') as lf:
                 lf.write(out)
             ret = self.error_parser.check(out)
-            if ret:
+            if True:
                 with open(logpath+'.log', 'w') as lf:
                     lf.write(out)
+            if ret:
                 raise LocalError(ret)
 
     def package(self, source, cert=None, pkg_type=None, conf=None):