Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

Commit

Permalink
added an uncaughtException handler on everything to keep the node ser…
Browse files Browse the repository at this point in the history
…ver running
  • Loading branch information
Nothus committed Jun 17, 2011
1 parent ab66ad8 commit 248a625
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ server = Http.createServer (req, resp) ->
else
four_oh_four(resp, "No pathname provided on the server")

process.on 'uncaughtException', (error) ->
log(error.stack)

console.log "SSL-Proxy running on #{port} with pid:#{process.pid}."
console.log "Using the secret key #{shared_key}"

Expand Down

0 comments on commit 248a625

Please sign in to comment.