Skip to content

Commit

Permalink
improve message reliability
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamBergamin committed Nov 21, 2023
1 parent 5d668c9 commit 2687f6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion slack_bolt/logger/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def warning_unhandled_request( # type: ignore
default_message,
f"""
@app.function("{callback_id}")
{'async ' if is_async else ''}def handle_{callback_id}_function(body, event, client, logger):
{'async ' if is_async else ''}def handle_some_function(body, event, client, logger):
try:
# TODO: do something here
outputs = {{}}
Expand Down
2 changes: 1 addition & 1 deletion tests/slack_bolt/logger/test_unmatched_suggestions.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def test_function_event(self):
[Suggestion] You can handle this type of event with the following listener function:
@app.function("reverse")
def handle_reverse_function(body, event, client, logger):
def handle_some_function(body, event, client, logger):
try:
# TODO: do something here
outputs = {{}}
Expand Down

0 comments on commit 2687f6d

Please sign in to comment.