title: Javascript error function is logging the error message as 'undefined'
body: <p>I'm attempting to run my Parse cloud code job, however it's running into an error. When it hits this error, it runs <code>function(error)</code> and prints out <code>Got an error undefined : undefined</code>. </p>
  
  <p>Because the <code>error</code> valuable is undefined, I'm having a hard time figuring out which one of the functions it's running is causing the problem, as well as where in that function it's failing. Is there anything I can log in <code>status.error</code> to see what's going wrong?</p>
  
  <pre><code>Parse.Cloud.job("MCBackground", function(request, status) {
      // ... other code to setup usersQuery ...
      Parse.Cloud.useMasterKey();
  
      var usersQuery = new Parse.Query(Parse.User);
  
      return usersQuery.each(function(user) {
              return processUser(user)
                  .then(function(eBayResults) {
                      return mcComparison(user, eBayResults);
                  });
          })
          .then(function() {
              // Set the job's success status
              status.success("MatchCenterBackground completed successfully.");
          }, function(error) {
              // Set the job's error status
              status.error("Got an error " + error + " : " + error.message);
          });
  });
  </code></pre>