better error handling from venvs

This commit is contained in:
Believethehype
2023-12-30 20:36:38 +01:00
parent d2fbeb7b23
commit 0c2ee4ee6c
6 changed files with 22 additions and 11 deletions

View File

@@ -239,7 +239,7 @@ class Bot:
client=self.client, config=self.dvm_config)
time.sleep(2.0)
reply_event = EventBuilder.new_encrypted_direct_msg(self.keys,
PublicKey.from_hex(user.npub),
PublicKey.from_hex(entry['npub']),
content,
None).to_event(self.keys)
print(status + ": " + content)