8000 Handle missing MOTD by PerchunPak · Pull Request #993 · py-mine/mcstatus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Handle missing MOTD #993

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 8, 2025
Merged

Handle missing MOTD #993

merged 2 commits into from
May 8, 2025

Conversation

PerchunPak
Copy link
Member

Fixes #992

@PerchunPak PerchunPak force-pushed the handle-empty-motd branch from a97813c to c2fe4ef Compare May 6, 2025 07:35
PerchunPak added 2 commits May 6, 2025 16:08
`!r` uses `repr` instead of `str`

```py
In [1]: error = Exception("abc")

In [2]: print(f"{error}")
abc

In [3]: print(f"{error!r}")
Exception('abc')

In [4]: repr(error)
Out[4]: "Exception('abc')"
```
@kevinkjt2000 kevinkjt2000 merged commit e6506f4 into master May 8, 2025
11 checks passed
@kevinkjt2000 kevinkjt2000 deleted the handle-empty-motd branch May 8, 2025 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KeyError during status request if MOTD is empty
3 participants
0