Skip to content

Commit

Permalink
Send a real error type.
Browse files Browse the repository at this point in the history
Signed-off-by: François de Metz <francois@stormz.me>
  • Loading branch information
francois2metz committed Nov 11, 2012
1 parent f146ffa commit 12f9e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/app.js
Expand Up @@ -13,7 +13,7 @@ function trelloCalendarApp(config) {
app.use(require('connect-assets')({src: __dirname +'/../assets'}));

function sendError(res) {
app.emit(new Error("error"));
app.emit('error');
res.send("error", 500);
}

Expand Down

0 comments on commit 12f9e8d

Please sign in to comment.