mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
allow crash server
This commit is contained in:
@@ -1,10 +1,9 @@
|
|||||||
process.on('uncaughtException', function (exception) {
|
/*process.on('uncaughtException', function (error) {
|
||||||
console.error(exception);
|
console.log(error.stack);
|
||||||
// don't crash for now
|
});*/
|
||||||
});
|
|
||||||
|
|
||||||
require('coffee-script') // remove intermediate compilation requirement
|
require('coffee-script') // remove intermediate compilation requirement
|
||||||
require('./lib/server').listen(process.env.PORT || 3000);
|
require('./src/server').listen(process.env.PORT || 3000);
|
||||||
|
|
||||||
// Note: removed "up" module, which is default for development (but interferes with and production + PaaS)
|
// Note: removed "up" module, which is default for development (but interferes with and production + PaaS)
|
||||||
// Restore to 5310bb0 if I want it back (see https://github.com/codeparty/derby/issues/165#issuecomment-10405693)
|
// Restore to 5310bb0 if I want it back (see https://github.com/codeparty/derby/issues/165#issuecomment-10405693)
|
||||||
|
|||||||
Reference in New Issue
Block a user