Permalink
Browse files

adding mysql tests and uncaught exception handling for redis

  • Loading branch information...
1 parent 6291185 commit 9b6d84d375d431fb8241b46050e7f0fde881d93a @jeffsu committed Sep 11, 2012
Showing with 4 additions and 1 deletion.
  1. +3 −0 lib/server.ms
  2. +1 −1 mock/example.yml
View
@@ -74,6 +74,9 @@ export class Server {
this.buildRedis(config.sync.redis);
}
+ process.on('uncaughtException', #{
+ console.log('uncaught exception:' + $1);
+ });
}
function buildRedis(config) {
View
@@ -54,7 +54,7 @@ services:
slow: 350
fast: 250
-log: [ 'change', 'fail', 'pass', 'up', 'down' ]
+#log: [ 'change', 'fail', 'pass', 'up', 'down' ]
dashboard:
port: 3000

0 comments on commit 9b6d84d

Please sign in to comment.