·
4 commits
to main
since this release
What's Changed
The slack run
command now exits with the error code returned from the start
hook and Node warnings were returned to verbose outputs:
$ slack run --verbose
...
[DEBUG] web-api:WebClient:0 initialized
...
AppInitializationError: You must provide an appToken when socketMode is set to true. To generate an appToken see: https://api.slack.com/apis/connections/socket#token
...
🚫 The 'start' hook exited with an error (sdk_hook_invocation_failed)
exit status 1 (local_app_run_error)
$ echo $?
1
🎉 Enhancements
- feat(cli-hooks): output node warnings to stderr for debugging outputs in #2152 - Thanks @zimeg!
- feat(cli-hooks): exit the start process with the subprocess exit code in #2153 - Thanks @zimeg!
🧰 Maintenance
- chore(cli-hooks): release @slack/[email protected] in #2154 - Thanks @zimeg!
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/[email protected]...@slack/[email protected]
Milestone: https://github.com/slackapi/node-slack-sdk/milestone/101?closed=1