Permalink
Please sign in to comment.
Showing
with
2 additions
and 4 deletions.
@@ -1,12 +1,11 @@ | ||
-geddy.todos = []; | ||
- | ||
// Add uncaught-exception handler in prod-like environments | ||
if (geddy.config.environment != 'development') { | ||
process.addListener('uncaughtException', function (err) { | ||
geddy.log.error(JSON.stringify(err)); | ||
}); | ||
} | ||
+geddy.todos = []; | ||
geddy.model.adapter = {}; | ||
geddy.model.adapter.Todo = require(process.cwd() + '/lib/model_adapters/todo').Todo; | ||
0 comments on commit
3baaf50