From c478cb5d6ec4f1d6b66c7a9490679fd544347902 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 22 Feb 2019 09:36:25 -0500 Subject: [PATCH] Update language of empty buffer warning It was confusing and failing to point out possibilities that were frequently occuring. --- confluent_server/confluent/consoleserver.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/confluent_server/confluent/consoleserver.py b/confluent_server/confluent/consoleserver.py index fb0516fb..a570fa6c 100644 --- a/confluent_server/confluent/consoleserver.py +++ b/confluent_server/confluent/consoleserver.py @@ -309,8 +309,11 @@ class ConsoleHandler(object): def clearbuffer(self): self.feedbuffer( - '\x1bc[no replay buffer due to console.logging attribute set to ' - 'none or interactive,\r\nconnection loss, or service restart]') + '\x1bc[No data has been received from the remote console since ' \ + 'connecting. This could be due to having the console.logging ' \ + 'attribute set to none or interactive, serial console not ' \ + 'being enabled or incorrectly configured in the OS or firmware, ' \ + 'or the console simply not having any output since last connection]') self.clearpending = True def _detach(self):