Commit 6dfce8ed authored by priit's avatar priit

Installi mitmesse serverisse

parent 74f30706
......@@ -7,6 +7,7 @@ router.use('/api/v1/statistics', require(__base + 'controllers/api/v1/statistics
/* GET home page. Service description from config */
router.get('/', function( req, res ) {
res.render('index', {
title: config.wrapper.title
});
......
......@@ -62,13 +62,13 @@ function LocalExecutor() {
process.stderr.pipe(outputStream);
process.stderr.on('data', function (data) {
logger.error('Got error: ' + data);
logger.error('Got std error: ' + data);
response.isSuccess = false;
response.errors.push({util:data.toString()});
});
process.on('error', function (data) {
logger.error('Got error: ' + data);
logger.error('Got process error: ' + data);
response.isSuccess = false;
response.errors.push({util:data.toString()});
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment