title: Parse.com JavaScript query error handling does not work
body: <p>I'm playing around with the Parse backend and NodeJS but I have a problem right now and I am not able to figure it out. I have a get request like this.</p>
  
  <pre><code>app.get("/movie", function (req, res) {
      var Review = Parse.Object.extend("Review");
      var query = new Parse.Query(Review);
      var movie = req.query.movie;
  
      query.equalTo("movie", movie);
      query.first({
          success: function (movie) {
              console.log("Success");
          },
          error: function (error) {
              console.log("Error: " + error.code + " " + error.message);
          }
  });});
  </code></pre>
  
  <p>This works fine but the error handling kinda doesn't. If, for example, I change</p>
  
  <pre><code>query.equalTo("movie", movie);
  </code></pre>
  
  <p>to <code>query.equalTo("movie", "xyz");</code></p>
  
  <p>or <code>query.equalTo("abc", "xyz");</code></p>
  
  <p>which does not exist in my table, I'm still getting the success statement. And yes, I have restarted the server every time.</p>
  
  <p><strong>Update</strong></p>
  
  <p>I tried the same query using the iOS SDK(Swift) and here I get into the error case. I always get the same error though, which shouldn't be, but at least I get an error while in the JS sample I always get into the success case.</p>