Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed #1156, socketMode error not being properly thrown #1161

Merged
merged 2 commits into from Jan 21, 2021
Merged

Conversation

stevengill
Copy link
Member

Summary

Fixes issue #1156

Requirements (place an x in each [ ])

@stevengill stevengill added the bug M-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documented label Jan 21, 2021
@stevengill stevengill self-assigned this Jan 21, 2021
Copy link
Member

@seratch seratch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although I have not yet verified if it actually works, in theory, this patch should resolve the issue. Thanks for fixing this 👍

packages/socket-mode/src/SocketModeClient.ts Outdated Show resolved Hide resolved
packages/socket-mode/src/SocketModeClient.ts Outdated Show resolved Hide resolved
return result;
}).catch((error) => {
this.logger.error(error);
// throw error;
return Promise.reject(error);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Member

@mwbrooks mwbrooks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for getting this one all ready!

Co-authored-by: Kazuhiro Sera <ksera@slack-corp.com>
@stevengill stevengill merged commit 25d4d4d into main Jan 21, 2021
@stevengill stevengill added pkg:socket-mode applies to `@slack/socket-mode` semver:patch labels Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug M-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documented pkg:socket-mode applies to `@slack/socket-mode` semver:patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants