Commit 0eed33f4 authored by John Crepezzi's avatar John Crepezzi
Browse files

400 should be 404

parent cf384cd0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ DocumentHandler.prototype.handleGet = function(key, response) {
  }
  else {
    winston.warn('document not found', { key: key });
    response.writeHead(400, { 'content-type': 'application/json' });
    response.writeHead(404, { 'content-type': 'application/json' });
    response.end(JSON.stringify({ message: 'document not found' }));
  }
};