15 lines
No EOL
352 B
JavaScript
15 lines
No EOL
352 B
JavaScript
const fs = require("fs")
|
|
|
|
require("./fileHandler.js")
|
|
require('./expressHandler.js')
|
|
require("./pageUpdater.js")
|
|
require("./blog.js")
|
|
// require("./imageEmbedder.js")
|
|
|
|
process.on('uncaughtException', (err, origin) => {
|
|
fs.writeSync(
|
|
process.stderr.fd,
|
|
`Caught exception: ${err}\n` +
|
|
`Exception origin: ${origin}`,
|
|
);
|
|
}); |