diff options
author | myk bilokonsky <mbilokonsky@gmail.com> | 2017-04-10 01:52:13 +0200 |
---|---|---|
committer | myk bilokonsky <mbilokonsky@gmail.com> | 2017-04-10 01:52:13 +0200 |
commit | d994755a62313e0c0d929bb1d1e62f7d8c98eeda (patch) | |
tree | 6766f987bf058cdd881d9f212f387d83b3b1f89a | |
parent | 696655edd0f989a379d8da8915793bb4ce96a20f (diff) |
cleanup output
-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); }); }) } |