mirror of
https://github.com/snobu/destreamer.git
synced 2026-02-11 00:59:42 +00:00
Temporary fix for exit code 0
This commit is contained in:
@@ -65,6 +65,9 @@ async function init() {
|
||||
});
|
||||
|
||||
process.on('exit', (code) => {
|
||||
if (code == 0) {
|
||||
return
|
||||
};
|
||||
if (code in Errors)
|
||||
console.error(colors.bgRed(`\n\nError: ${Errors[code]} \n`))
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user