Permalink
Please sign in to comment.
Browse files
Show better error when slack subdomain isn't correctly set (#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...
0 comments on commit
e9749ef