mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-24 10:24:41 +02:00
petit truc gitignore
This commit is contained in:
@@ -4,6 +4,12 @@ module.exports = {
|
||||
name: Events.ClientReady,
|
||||
async execute(client) {
|
||||
console.log(`le bot ${client.user.tag} est en ligne`)
|
||||
process.on('uncaughtException', (error) => {
|
||||
console.error('Uncaught Exception:', error);
|
||||
});
|
||||
|
||||
process.on('unhandledRejection', (reason, promise) => {
|
||||
console.error('Unhandled Rejection at:', promise, 'reason:', reason);
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user