mirror of
https://git.bits.team/Bits/mod-manager.git
synced 2024-11-14 10:28:21 -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 => {
|
process.on("uncaughtException", error => {
|
||||||
PrintUtils.error(error.message, error);
|
PrintUtils.error(`[FATAL]: ${error.message}`, error);
|
||||||
setTimeout(() => process.exit(1), 1)
|
setTimeout(() => process.exit(1), 1)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user