Skip to content

Commit

Permalink
added error catch
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Gingras committed Oct 27, 2013
1 parent ef4b9b7 commit cead446
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions coffeeApp.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,7 @@ app.get '/data', routes.data

http.createServer(app).listen app.get('port'), ->
console.log 'Express server listening on port ' + app.get 'port'

process.on 'uncaughtException', (err) ->
console.log 'Uncaught Error!!! : ' + err

0 comments on commit cead446

Please sign in to comment.