mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
Only reference logfiles that exist
(Bitbake rev: 760f647ba044009150ee219869fc9dea171a7535) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
committed by
Richard Purdie
parent
c90bfa57f5
commit
311c9f5042
@@ -49,7 +49,7 @@ class FuncFailed(Exception):
|
||||
|
||||
def __str__(self):
|
||||
msg = "Function '%s' failed" % self.name
|
||||
if self.logfile:
|
||||
if self.logfile and os.path.exists(self.logfile):
|
||||
msg += " (see %s for further information)" % self.logfile
|
||||
return msg
|
||||
|
||||
|
||||
Reference in New Issue
Block a user