Browse Source

log improved

master
filesite 8 months ago
parent
commit
bcdca5df59
  1. 2
      heroUnion.mjs

2
heroUnion.mjs

@ -323,7 +323,7 @@ class HeroUnion {
}); });
if (response.status == 200) { if (response.status == 200) {
notified = true; notified = true;
common.log('Task %s notify to %s done, response data:', task.id, notify_url, response.data); common.log('Task %s done by %s, notify to %s done, response data:', task.id, task.results.provider, notify_url, response.data);
}else { }else {
common.error('[FAILED] Notify to %s failed, response status: %s, status text: %s, result: %s', common.error('[FAILED] Notify to %s failed, response status: %s, status text: %s, result: %s',
notify_url, response.status, response.statusText, response.data); notify_url, response.status, response.statusText, response.data);

Loading…
Cancel
Save