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

Commit

Permalink
Merge pull request #3001 from MycroftAI/bugfix/vk-bus-remove-exception
Browse files Browse the repository at this point in the history
fixed an error with message formatting in a ValueError message
  • Loading branch information
chrisveilleux authored Sep 15, 2021
2 parents 9e9f2f7 + 0896c3c commit 3c76177
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def remove_message(self, msg):
"""
with self.message_lock:
if msg not in self.messages:
raise ValueError(f'{msg} was not found in '
raise ValueError(f'{msg.msg_type} was not found in '
'the list of messages.')
# Update processed message count if a read message was removed
if self.messages.index(msg) < self._processed_messages:
Expand Down

0 comments on commit 3c76177

Please sign in to comment.