Skip to content

Commit

Permalink
adding mysql tests and uncaught exception handling for redis
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffsu committed Sep 11, 2012
1 parent 6291185 commit 9b6d84d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/server.ms
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ export class Server {
this.buildRedis(config.sync.redis);
}

process.on('uncaughtException', #{
console.log('uncaught exception:' + $1);
});
}

function buildRedis(config) {
Expand Down
2 changes: 1 addition & 1 deletion mock/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ services:
slow: 350
fast: 250

log: [ 'change', 'fail', 'pass', 'up', 'down' ]
#log: [ 'change', 'fail', 'pass', 'up', 'down' ]

dashboard:
port: 3000
Expand Down

0 comments on commit 9b6d84d

Please sign in to comment.