mirror of
https://git.bits.team/Bits/mod-manager.git
synced 2024-11-24 15:08:22 -05:00
Made fatal errors more obvious
This commit is contained in:
parent
fd86d1596f
commit
377b342564
@ -64,7 +64,7 @@ export default class ModManager {
|
||||
);
|
||||
|
||||
process.on("uncaughtException", error => {
|
||||
PrintUtils.error(error.message, error);
|
||||
PrintUtils.error(`[FATAL]: ${error.message}`, error);
|
||||
setTimeout(() => process.exit(1), 1)
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user