diff --git a/src/main.ts b/src/main.ts index 58ee3e1..4c5be18 100755 --- a/src/main.ts +++ b/src/main.ts @@ -124,7 +124,12 @@ class Service { } async dissociation_procedure(discord_user_id: string): Promise { - await this.state.remove_user(discord_user_id); + try { + await this.state.remove_user(discord_user_id); + } catch (error) { + console.error(error); + return `${error}`; + } return true; } }