Unverified Commit d922667f authored by John Crepezzi's avatar John Crepezzi Committed by GitHub
Browse files

Merge pull request #221 from PassTheMayo/patch-1

Fixed unnecessary logging when document not found
parents faa7e679 5f6fefa7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ class RethinkDBStore {
    this.client.table('uploads').get(md5(key)).run((error, result) => {
      if (error || !result) {
        callback(false);
        winston.error('failed to insert to table', error);
        if (error) winston.error('failed to insert to table', error);
        return;
      }
      callback(result.data);