Fix error
This commit is contained in:
parent
4e3b7096e1
commit
faa65af54c
4
index.js
4
index.js
|
@ -1336,7 +1336,9 @@ dcClient.on('interactionCreate', async interaction => {
|
||||||
interaction.editReply(`Error getting CDR records: ${error}`);
|
interaction.editReply(`Error getting CDR records: ${error}`);
|
||||||
});
|
});
|
||||||
conn.end();
|
conn.end();
|
||||||
}
|
}).catch((error) => {
|
||||||
|
interaction.editReply(`Error getting CDR records: ${error}`);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
// The user doesn't have an extension, return an ephemeral message saying so
|
// The user doesn't have an extension, return an ephemeral message saying so
|
||||||
|
|
Loading…
Reference in a new issue