mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
allow crash server
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
process.on('uncaughtException', function (exception) {
|
||||
console.error(exception);
|
||||
// don't crash for now
|
||||
});
|
||||
/*process.on('uncaughtException', function (error) {
|
||||
console.log(error.stack);
|
||||
});*/
|
||||
|
||||
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)
|
||||
// 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