title: Exception in delivering result of invoking method
body: <p>I've been testing on http calls with meteor, I used nitrous (because I had no access to my dev laptop during the weekend) and it worked fine.
  But when I tried to run from my local pc it returns:</p>
  
  <blockquote>
    <p>Exception in delivering result of invoking 'getMatch': TypeError:
    Cannot read property 'duration' of undefined.</p>
  </blockquote>
  
  <p>Any ideas of what could be the cause?
  Method definition:</p>
  
  <pre><code>Dota = {};
  
  Dota.getMatch = function() {
      if (!Meteor.settings.steamToken)
      throw new Meteor.Error(500, 'Enter a valid Steam Token in Meteor.settings');
  
      var matchResponse = Meteor.http.get(
         "https://api.steampowered.com/IDOTA2Match_570/GetMatchDetails/V001/?",
          {
              params:{
                  "match_id": "1305454585",
                  "key": Meteor.settings.steamToken
              }
          }
      );
  
      if (matchResponse.statusCode === 200) {
          return matchResponse.data.result
      }
      else {
          throw new Meteor.Error(500, "getMatch failed with error: "+matchResponse.statusCode);
      }
  }
  
  Meteor.methods({
      'getMatch': function(){
          return Dota.getMatch();
      }
  })
  </code></pre>
  
  <p>Calling the method:</p>
  
  <pre><code>Meteor.call('getMatch', function(error, result){
      var duration = numeral(result.duration).format('00:00:00');
      Session.set('duration', duration);
  
      var winner = Meteor.myFunctions.getWinner(result.radiant_win);
      Session.set('winner', winner);
  });
  
  Template.layout.helpers({
      winner: function () {
          return Session.get('winner');
      },
      duration: function () {
          return Session.get('duration');
      }
  });
  </code></pre>