Skip to content
Snippets Groups Projects
Commit 51fa21b0 authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

bring down the server if a required module doesn't load

parent c10a672e
No related branches found
No related tags found
No related merge requests found
......@@ -145,6 +145,7 @@ dirs.forEach(function(dirObj) {
}
} catch(e) {
console.log("Error loading " + handlerPath + ": " + e);
require('process').exit(1);
}
var so = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment