Skip to content

Commit

Permalink
Merge pull request #51 from mediainbox/snapshot-failure
Browse files Browse the repository at this point in the history
Fixed archiver going down when master becomes unavailable
  • Loading branch information
cdgraff authored Jun 4, 2017
2 parents bed0631 + 3e8857a commit a91e524
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
10 changes: 10 additions & 0 deletions js/src/runner.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/src/runner.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/runner.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,7 @@ if config = nconf.get("config") || nconf.get("CONFIG")
nconf.file file: config
runner = new Runner nconf.get()
runner.initialize()
process.on "uncaughtException", (err) =>
debug err
return if "#{err}" == "Error: got binary data when not reconstructing a packet"
process.exit 1

0 comments on commit a91e524

Please sign in to comment.