Skip to content

Commit 5b20a39

Browse files
committed
App: Consume error queue to avoid repeats
1 parent 8de3836 commit 5b20a39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/classes/app.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,8 @@ def show_errors(self):
335335
count = len(self.errors)
336336
if count > 0:
337337
self.log.warning("Displaying {} startup messages".format(count))
338-
for error in self.errors:
338+
while self.errors:
339+
error = self.errors.pop(0)
339340
error.show()
340341

341342
def _tr(self, message):

0 commit comments

Comments
 (0)