diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 7061cee20d..f602e0c0ab 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py @@ -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