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

Implemented '/INSPECT open' command when connecting to a debug bot vi… #1470

Merged
merged 1 commit into from Apr 29, 2019

Conversation

tonyanziano
Copy link
Contributor

…a url.

===

One of #1443

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 57.161% when pulling 0272212 on toanzian/sidecar-via-url into 4422c69 on master.

Copy link
Contributor

@justinwilaby justinwilaby left a comment

Choose a reason for hiding this comment

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

A small change (if you agree with it), other than this, it looks good.

activity
);
if (postActivityResponse.statusCode >= 400) {
throw new Error(`An error occurred while POSTing "/INSPECT open" command to conversation ${conversationId}`);
Copy link
Contributor

Choose a reason for hiding this comment

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

Because saga exceptions aren't the greatest when it comes to capturing, I think we should dispatch a notification with the error message instead of throwing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The whole thing is inside of a try-catch that does exactly that!

Copy link
Contributor

@justinwilaby justinwilaby left a comment

Choose a reason for hiding this comment

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

:shipit: :shipit:

@tonyanziano tonyanziano merged commit 681a162 into master Apr 29, 2019
@tonyanziano tonyanziano deleted the toanzian/sidecar-via-url branch April 29, 2019 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants