We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0a0fd9 commit b192638Copy full SHA for b192638
src/robotide/ui/progress.py
@@ -32,11 +32,13 @@ def notify(self):
32
33
def finish(self):
34
self._progressbar.Destroy()
35
- context.LOG.report_parsing_errors()
+ if hasattr(context.LOG, 'report_parsing_errors'):
36
+ context.LOG.report_parsing_errors()
37
38
def error(self, msg):
39
self.finish()
- context.LOG.error(msg)
40
+ if hasattr(context.LOG, 'error'):
41
+ context.LOG.error(msg)
42
43
44
class LoadProgressObserver(ProgressObserver):
0 commit comments