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:
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue