summaryrefslogtreecommitdiff
path: root/src/buildstream/_stream.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/_stream.py')
-rw-r--r--src/buildstream/_stream.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/buildstream/_stream.py b/src/buildstream/_stream.py
index 6d8d918dd..293ba051d 100644
--- a/src/buildstream/_stream.py
+++ b/src/buildstream/_stream.py
@@ -1653,7 +1653,9 @@ class Stream():
assert self._notification_queue
notification = self._notification_queue.pop()
- if notification.notification_type == NotificationType.INTERRUPT:
+ if notification.notification_type == NotificationType.MESSAGE:
+ self._context.messenger.message(notification.message)
+ elif notification.notification_type == NotificationType.INTERRUPT:
self._interrupt_callback()
elif notification.notification_type == NotificationType.TICK:
self._ticker_callback()