[Groonga-commit] groonga/gcs [master] Output error information correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Nov 12 17:58:49 JST 2012


YUKI Hiroshi	2012-11-12 17:58:49 +0900 (Mon, 12 Nov 2012)

  New Revision: 368405349be5d1a3e3b5514f381596e45d9a4f6e
  https://github.com/groonga/gcs/commit/368405349be5d1a3e3b5514f381596e45d9a4f6e

  Log:
    Output error information correctly

  Modified files:
    tools/run-scenarios

  Modified: tools/run-scenarios (+4 -0)
===================================================================
--- tools/run-scenarios    2012-11-12 17:55:35 +0900 (37c4f8d)
+++ tools/run-scenarios    2012-11-12 17:58:49 +0900 (5681c55)
@@ -105,6 +105,10 @@ var runner = new Runner(options, function(error, event) {
                         '(total elapsed time: ' + event.elapsedTime + 'msec)');
           process.exit(0);
           break;
+
+        case 'error':
+          runner.client.raiseFatalError('Unknown status code ' + event.statusCode);
+          break;
       }
     });
 runner.run(scenarios);
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index