Better message
This commit is contained in:
+1
-1
@@ -123,7 +123,7 @@ function add(type, args, callback) {
|
||||
assert(Array.isArray(args));
|
||||
assert.strictEqual(typeof callback, 'function');
|
||||
|
||||
taskdb.add({ type: type, percent: 0, message: 'Starting', args: args }, function (error, taskId) {
|
||||
taskdb.add({ type: type, percent: 0, message: 'Starting ...', args: args }, function (error, taskId) {
|
||||
if (error) return callback(new TaskError(TaskError.INTERNAL_ERROR, error));
|
||||
|
||||
callback(null, taskId);
|
||||
|
||||
Reference in New Issue
Block a user