Skip to content
This repository has been archived by the owner on Jun 21, 2019. It is now read-only.

Commit

Permalink
Decrement build for uncaught exceptions. Fixes Issue#74
Browse files Browse the repository at this point in the history
  • Loading branch information
ozten committed Jul 29, 2014
1 parent d9ecce4 commit b9e8e1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/generator
Expand Up @@ -33,6 +33,7 @@ var S3_TYPE = require('../lib/apk_generator').S3_TYPE;
config.withConfig(function(config) {
var log = require('../lib/logging')(config);
process.on('uncaughtException', function(err) {
buildLimit.error();
logError(log, 'Generator Uncaught exception:', err);
});
var generator = new ApkGenerator(config.buildDir,
Expand Down

0 comments on commit b9e8e1f

Please sign in to comment.