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

Commit

Permalink
Add missing error callback from team not found
Browse files Browse the repository at this point in the history
  • Loading branch information
alecl committed Jun 18, 2017
1 parent 046f130 commit ec3c11d
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 ec3c11d

Please sign in to comment.