Skip to content

Commit ea3176a

Browse files
author
Valentin Riess
committed
Fix error handling
1 parent e5277c7 commit ea3176a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

inviter/matrix_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ async def ensure_room_with_alias(self, alias: str, encryption_on_room_creation:
159159
:return: Room id
160160
"""
161161
# self.logger.debug(f"Ensuring {alias} exists...")
162+
room = None
162163
try:
163164
room = await self.room_methods.resolve_room_alias(RoomAlias(alias))
164165
except MNotFound:

maubot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
maubot: 0.2.0
22
id: de.in4md-service.inviterbot
3-
version: 0.1.3
3+
version: 0.1.4
44
license: GPLv3
55
modules:
66
- inviter

0 commit comments

Comments
 (0)