|
|
@ -132,7 +132,6 @@ module.exports = (_options = {}) => { |
|
|
|
resolves[action]({ jobId, data: d }); |
|
|
|
resolves[action]({ jobId, data: d }); |
|
|
|
} else if (status === 'reject') { |
|
|
|
} else if (status === 'reject') { |
|
|
|
rejects[action](data); |
|
|
|
rejects[action](data); |
|
|
|
throw Error(data); |
|
|
|
|
|
|
|
} else if (status === 'progress') { |
|
|
|
} else if (status === 'progress') { |
|
|
|
logger(data); |
|
|
|
logger(data); |
|
|
|
} |
|
|
|
} |
|
|
|