diff options
| -rw-r--r-- | bitbake/lib/bb/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): | |||
| 49 | 49 | ||
| 50 | def __str__(self): | 50 | def __str__(self): |
| 51 | msg = "Function '%s' failed" % self.name | 51 | msg = "Function '%s' failed" % self.name |
| 52 | if self.logfile: | 52 | if self.logfile and os.path.exists(self.logfile): |
| 53 | msg += " (see %s for further information)" % self.logfile | 53 | msg += " (see %s for further information)" % self.logfile |
| 54 | return msg | 54 | return msg |
| 55 | 55 | ||
