message: moved 401 catch into json error catch and pass the error message with it
diff: @@ -632,22 +632,20 @@ module.exports = function(controller) {
  if (err) {
  return reject(err);
  }
  - if(res.statusCode === 401){
  - console.error('Invalid Botkit Studio Token');
  - reject({error: 'Invalid Botkit Studio Token'});
  - }
  var json = null;
  try {
  json = JSON.parse(body);
  -
  } catch (e) {
  }
  if (!json || json == null) {
  return reject('Response from Botkit Studio API was empty or invalid JSON');
  } else if (json.error) {
  + if(res.statusCode === 401){
  + console.error(json.error);
  + }
  return reject(json.error);
  } else {
  resolve(json);
  