diff options
-rw-r--r-- | index.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/index.js b/index.js index 7a22bfd..2e8d8a6 100644 --- a/index.js +++ b/index.js @@ -61,9 +61,11 @@ function boost(rows) { }) .forEach(function(id) { M.post(`statuses/${id}/reblog`, function(err, result) { + if (err) { + return console.error(err); + } + boosted[id] = true; console.log(`boosted status #${id}`); - console.dir(err); - console.dir(result); }); }) } |