Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show better error when slack subdomain isn't correctly set (rauchg#261)
e.g when `SLACK_SUBDOMAIN="<zeit-community>"` following error would show up: ``` /home/nowuser/src/dist/slack.js:53 (res.body.channels || []).forEach(function (channel) { ^ TypeError: Cannot read property 'body' of undefined ``` When really err is populated and contains real error.
- Loading branch information