diff --git a/src/robotide/ui/progress.py b/src/robotide/ui/progress.py index f016b5a71..690d6dcb7 100644 --- a/src/robotide/ui/progress.py +++ b/src/robotide/ui/progress.py @@ -32,11 +32,13 @@ def notify(self): def finish(self): self._progressbar.Destroy() - context.LOG.report_parsing_errors() + if hasattr(context.LOG, 'report_parsing_errors'): + context.LOG.report_parsing_errors() def error(self, msg): self.finish() - context.LOG.error(msg) + if hasattr(context.LOG, 'error'): + context.LOG.error(msg) class LoadProgressObserver(ProgressObserver):