Skip to content

Commit

Permalink
add error message for when bot server is not configured yet
Browse files Browse the repository at this point in the history
  • Loading branch information
LarynQi committed Nov 27, 2023
1 parent 87d7ef8 commit 953c35d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/protocols/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ def animate():
if 'output' not in help_response:
print_error("An error occurred. Please try again later.")
return
if 'requestid' not in help_response:
print_error("61A-bot is not offering help for this assignment yet. Please try again later.")
return

hint = help_response.get('output')
print(hint)
Expand Down

0 comments on commit 953c35d

Please sign in to comment.