[mod errors] Fix await on non async function
This commit is contained in:
parent
7a34e57a2d
commit
2738508875
@ -42,7 +42,7 @@ class MainClass(BaseClassPython):
|
||||
await to_delete.delete()
|
||||
except:
|
||||
raise
|
||||
await self.objects.save_object('errorsList', self.errorsList)
|
||||
self.objects.save_object('errorsList', self.errorsList)
|
||||
|
||||
async def command(self, message, args, kwargs):
|
||||
raise Exception("KERNEL PANIC!!!")
|
||||
|
Loading…
Reference in New Issue
Block a user