kopia lustrzana https://github.com/OpenDroneMap/NodeODM
rodzic
8bf98fdb14
commit
a2f7dd69bc
|
@ -160,9 +160,7 @@ module.exports = class TaskManager{
|
||||||
json: task.getInfo()
|
json: task.getInfo()
|
||||||
},
|
},
|
||||||
function (error, response, body) {
|
function (error, response, body) {
|
||||||
if (!error && response.statusCode == 200) {
|
if (error || response.statusCode != 200) logger.warn(`Call to webhook failed: ${task.webhook}`);
|
||||||
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue