Skip to content

Commit 9e15f68

Browse files
committed
Fix bug in error handler in thread setup
1 parent 986b744 commit 9e15f68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/thread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ async def setup(self, *, creator=None, category=None):
108108

109109
em = discord.Embed(color=discord.Color.red())
110110
em.title = "Error while trying to create a thread"
111-
em.description = e.message
111+
em.description = str(e)
112112
em.add_field(name="Recipient", value=recipient.mention)
113113

114114
if log_channel is not None:

0 commit comments

Comments
 (0)