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

Miscellaneous docs improvements #193

Merged
merged 3 commits into from
May 16, 2019

Conversation

shaydewael
Copy link
Contributor

Summary

Mostly just small wording changes that hopefully make some sections a little clearer.

Requirements (place an x in each [ ])

@codecov
Copy link

codecov bot commented May 16, 2019

Codecov Report

Merging #193 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #193   +/-   ##
=======================================
  Coverage   58.95%   58.95%           
=======================================
  Files           7        7           
  Lines         441      441           
  Branches      120      120           
=======================================
  Hits          260      260           
  Misses        173      173           
  Partials        8        8

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 32e789a...f688191. Read the comment docs.

@@ -5,7 +5,7 @@ order: 1
---

<div class="section-content">
If an error occurs in a listener, it’s recommended you handle it directly. However, there are cases where errors may occur after your listener middleware has returned (such as `say()`, `respond()`, or not calling `ack()`). By default, these errors will be logged to the console. To handle them yourself, you can attach a global error handler to your app using the `error(fn)` method.
If an error occurs in a listener, it’s recommended you handle it directly. However, there are cases where errors may be triggered after your listener middleware has already returned (such as in `say()`, `respond()`, or if you don't call `ack()` when it's required). By default, these errors will be logged to the console. To handle them yourself, you can attach a global error handler to your app with the `error(fn)` method.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think its important to be consistent with "listener" versus "listener middleware", and it seems like we are using both in the two clauses of this sentence.

@aoberoi
Copy link
Contributor

aoberoi commented May 16, 2019

win

@shaydewael shaydewael merged commit 278a7ac into slackapi:master May 16, 2019
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.

2 participants