LewisGaul / minegauler

A clone of the original minesweeper game with many added features
GNU General Public License v3.0
12 stars 8 forks source link

New highscore and error messages broken #111

Closed LewisGaul closed 4 years ago

LewisGaul commented 4 years ago

2020-06-17 12:39:20,877 server.bot.routes ERROR    Error sending webex message for new best
Traceback (most recent call last):
  File "/home/ec2-user/minegauler/server/bot/routes.py", line 109, in new_highscore_hook
    utils.send_new_best_message(highscore)
  File "/home/ec2-user/minegauler/server/bot/utils.py", line 113, in send_new_best_message
    assert False
AssertionError
2020-06-17 12:39:20,877 __main__     ERROR    Error in 'new highscore' hook new_highscore_hook()
Traceback (most recent call last):
  File "/home/ec2-user/minegauler/server/bot/routes.py", line 109, in new_highscore_hook
    utils.send_new_best_message(highscore)
  File "/home/ec2-user/minegauler/server/bot/utils.py", line 113, in send_new_best_message
    assert False
AssertionError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ec2-user/minegauler/server/__main__.py", line 59, in api_v1_highscore
    func(highscore)
  File "/home/ec2-user/minegauler/server/bot/routes.py", line 112, in new_highscore_hook
    _send_myself_error_msg()
TypeError: _send_myself_error_msg() missing 1 required positional argument: 'error'