summary refs log tree commit diff
diff options
context:
space:
mode:
authormyk bilokonsky <mbilokonsky@gmail.com>2017-04-10 01:55:02 +0200
committermyk bilokonsky <mbilokonsky@gmail.com>2017-04-10 01:55:02 +0200
commitd109922e31aa0aef1cbf3c1c6e0539e1d4203184 (patch)
treed64d5c51f7e566bc2d6a83982bfbe0d2b3fd1736
parent018c0b9c0c2816739004aef751ac2704152d639e (diff)
cleaner warning
-rw-r--r--index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.js b/index.js
index db9d2df..3b826f3 100644
--- a/index.js
+++ b/index.js
@@ -64,6 +64,7 @@ function boost(rows) {
       if (err) {
         if (err.message === 'Validation failed: Reblog of status already exists') {
           boosted[id] = true;
+          return console.log(`Warning: tried to boost #${id} but it had already been boosted by this account. Adding to cache.`);
         }
 
         return console.error(err);