Skip to content
This repository was archived by the owner on Sep 8, 2024. It is now read-only.

Commit 3c76177

Browse files
Merge pull request #3001 from MycroftAI/bugfix/vk-bus-remove-exception
fixed an error with message formatting in a ValueError message
2 parents 9e9f2f7 + 0896c3c commit 3c76177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integrationtests/voight_kampff/features/environment.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def remove_message(self, msg):
8282
"""
8383
with self.message_lock:
8484
if msg not in self.messages:
85-
raise ValueError(f'{msg} was not found in '
85+
raise ValueError(f'{msg.msg_type} was not found in '
8686
'the list of messages.')
8787
# Update processed message count if a read message was removed
8888
if self.messages.index(msg) < self._processed_messages:

0 commit comments

Comments
 (0)