1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

IM STUPID

This commit is contained in:
Steffo 2020-06-11 14:21:11 +02:00
parent 28da9a330c
commit 90e60bc827
Signed by: steffo
GPG key ID: 896A80F55F7C97F0

View file

@ -36,7 +36,7 @@ class SteampoweredCommand(rc.Command):
async def _call(self, method, *args, **kwargs): async def _call(self, method, *args, **kwargs):
try: try:
await ru.asyncify(method, *args, **kwargs) return await ru.asyncify(method, *args, **kwargs)
except Exception as e: except Exception as e:
raise rc.ExternalError("\n".join(e.args).replace(self.config["Steam"]["web_api_key"], "HIDDEN")) raise rc.ExternalError("\n".join(e.args).replace(self.config["Steam"]["web_api_key"], "HIDDEN"))