mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-23 02:16:02 +00:00
Merge pull request #984 from freitasm/master
Update runners.js to fix small typo
This commit is contained in:
@@ -149,7 +149,7 @@ module.exports = {
|
|||||||
byline(subprocess.stdout).on('data', pipeDispatcher('info'));
|
byline(subprocess.stdout).on('data', pipeDispatcher('info'));
|
||||||
byline(subprocess.stderr).on('data', pipeDispatcher('error'));
|
byline(subprocess.stderr).on('data', pipeDispatcher('error'));
|
||||||
subprocess.on('exit', code => {
|
subprocess.on('exit', code => {
|
||||||
this.rejectRequest(runid, { message: 'No data retured, maybe input data source is too big' });
|
this.rejectRequest(runid, { message: 'No data returned, maybe input data source is too big' });
|
||||||
logger.info({ code, pid: subprocess.pid }, 'Exited process');
|
logger.info({ code, pid: subprocess.pid }, 'Exited process');
|
||||||
socket.emit(`runner-done-${runid}`, code);
|
socket.emit(`runner-done-${runid}`, code);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user