Unverified Commit 5f6fefa7 authored by Jacob Gunther's avatar Jacob Gunther Committed by GitHub
Browse files

Fixed unnecessary logging when document not found

parent faa7e679
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);