Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #887 from alecl/master
Browse files Browse the repository at this point in the history
Add missing error callback from team not found
  • Loading branch information
Ben Brown authored Jun 19, 2017
2 parents 023d9a6 + ec3c11d commit 9dd0980
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/SlackBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ function Slackbot(configuration) {
cb(null, found_team);
}
});
} else {
cb(new Error(`could not find team ${team_id}`));
}
}
});
Expand Down

0 comments on commit 9dd0980

Please sign in to comment.