Skip to content

Commit

Permalink
remove throw error in rest error which killed node daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
zohararad committed Apr 30, 2012
1 parent c18d08b commit add83be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion routes/index.js
Expand Up @@ -31,7 +31,8 @@ module.exports = function(app) {
if ( err === null ) {
res.render(controller + '/' + action + '.html', data);
} else {
throw err;
console.log('ERROR',err);
res.end('');
}
});
}
Expand Down
Empty file added views/README.md
Empty file.

0 comments on commit add83be

Please sign in to comment.