Skip to content

Detect when the client fights with the server #1674

@ctm

Description

@ctm

Add code so that if the client sends a request to the server which is supposed to succeed and the server rejects it, an error is logged somewhere.

I spent a little time chasing down a client bug that was causing the client to send a call to the server with too small of an amount. However, the client sends CallOrDoNothing, which means that if the call fails, the server is not supposed to send anything back to the server. It's written this way due to how I grafted the graphical user interface on top of the text interface and in the absence of bugs, it works fine. However, if there is a bug, it tends to annoy the player who is bitten, but that doesn't mean that the player will report the bug.

This isn't hard and it can even be done piecemeal, but it's also not high priority.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingchoreMaintenance or other non-bug, non-feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions