Skip to content

Commit a024552

Browse files
minor improvement on comments
1 parent cf20db4 commit a024552

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

slack_bolt/middleware/assistant/assistant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def process( # type: ignore[return]
242242
if middleware_resp is not None:
243243
return middleware_resp
244244
# The listener middleware didn't call next().
245-
# This means the listener is not for this incoming request.
245+
# Skip this listener and try the next one.
246246
continue
247247
if middleware_resp is not None:
248248
resp = middleware_resp

slack_bolt/middleware/assistant/async_assistant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ async def async_process( # type: ignore[return]
271271
if middleware_resp is not None:
272272
return middleware_resp
273273
# The listener middleware didn't call next().
274-
# This means the listener is not for this incoming request.
274+
# Skip this listener and try the next one.
275275
continue
276276
if middleware_resp is not None:
277277
resp = middleware_resp

0 commit comments

Comments
 (0)