Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

modified: README.md

  • Loading branch information...
commit 68f1de91efc10ad7d2c6f812d0adb16b4c178482 1 parent c3fb13a
@shimondoodkin authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 README.md
View
14 README.md
@@ -44,13 +44,13 @@ for example to `/var/www`. Copying of `autoexit.js` is optional and it can be in
Also after serving one sucsessful request (application is fully loaded) I add an on error error handler:
- if(!app_loaded)
- {
- process.on('uncaughtException', function (err) {
- console.log('Caught exception: ' + err.stack);
- });
- app_loaded=true;
- }
+ if(!app_loaded)
+ {
+ process.on('uncaughtException', function (err) {
+ console.log('Caught exception: ' + err.stack);
+ });
+ app_loaded=true;
+ }
As i like it, I want it to crash on load errors and exit the application but not on application errors.
Please sign in to comment.
Something went wrong with that request. Please try again.