diff --git a/songbook_core/build.py b/songbook_core/build.py index c43b8780..afa72d20 100644 --- a/songbook_core/build.py +++ b/songbook_core/build.py @@ -241,6 +241,8 @@ class SongbookBuilder(object): line = p.stdout.readline() LOGGER.debug(log) + p.wait() + if p.returncode: raise errors.LatexCompilationError(self.basename)