forked from ChrisChrome/weather-bot
a
This commit is contained in:
parent
1ad9c477ee
commit
ede9be2509
2
index.js
2
index.js
|
@ -800,7 +800,7 @@ process.on("unhandledRejection", (error) => {
|
|||
});
|
||||
|
||||
process.on("uncaughtException", (error) => {
|
||||
console.log(`${colors.red("[ERROR]")} Uncaught Exception: ${error.message}`);
|
||||
console.log(`${colors.red("[ERROR]")} Uncaught Exception: ${error.message}\n${error.stack}`);
|
||||
});
|
||||
|
||||
// Login to discord
|
||||
|
|
Loading…
Reference in a new issue