diff options
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/index.js b/index.js index 2e8d8a6..db9d2df 100644 --- a/index.js +++ b/index.js @@ -62,6 +62,10 @@ function boost(rows) { .forEach(function(id) { M.post(`statuses/${id}/reblog`, function(err, result) { if (err) { + if (err.message === 'Validation failed: Reblog of status already exists') { + boosted[id] = true; + } + return console.error(err); } boosted[id] = true; |