2024-06-30 02:29:09 -05:00
|
|
|
const fs = require("fs")
|
|
|
|
|
2024-06-30 02:18:54 -05:00
|
|
|
require("./fileHandler.js")
|
|
|
|
require('./expressHandler.js')
|
2024-06-30 14:57:24 -05:00
|
|
|
// require("./imageEmbedder.js")
|
2024-06-08 19:16:44 -05:00
|
|
|
|
2024-06-29 18:23:21 -05:00
|
|
|
process.on('uncaughtException', (err, origin) => {
|
|
|
|
fs.writeSync(
|
2024-06-30 02:14:50 -05:00
|
|
|
process.stderr.fd,
|
|
|
|
`Caught exception: ${err}\n` +
|
|
|
|
`Exception origin: ${origin}`,
|
2024-06-29 18:23:21 -05:00
|
|
|
);
|
2024-06-30 02:14:50 -05:00
|
|
|
});
|