Skip to content
Compare
Choose a tag to compare
@zimeg zimeg released this 28 Feb 00:47
· 4 commits to main since this release
ffd5f15

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

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