diff --git a/sukuinote/plugins/einfo.py b/sukuinote/plugins/einfo.py
index b6fb7df..1c7ee52 100644
--- a/sukuinote/plugins/einfo.py
+++ b/sukuinote/plugins/einfo.py
@@ -92,7 +92,7 @@ async def get_spamwatch(entity):
try:
json = await resp.json()
except Exception as ex:
- return f'- {resp.status}: {html.escape(str(ex))}'
+ return f'- {resp.status}: {html.escape(type(ex).__name__)}: {html.escape(str(ex))}'
if 'code' in json:
return f'- {json["code"]}: {html.escape(json.get("error", ""))}'
return f'''- Banned on: {str(datetime.datetime.fromtimestamp(json["date"]))}
@@ -153,7 +153,7 @@ async def get_cas(entity):
try:
json = await resp.json()
except Exception as ex:
- return f'- {resp.status}: {html.escape(str(ex))}'
+ return f'- {resp.status}: {html.escape(type(ex).__name__)}: {html.escape(str(ex))}'
if json['ok']:
return f'''- Banned on: {str(datetime.datetime.fromisoformat(json["result"]["time_added"][:-1]))}
- Offenses: {json["result"]["offenses"]}'''
@@ -164,7 +164,7 @@ async def get_spam_protection(entity):
try:
json = await resp.json()
except Exception as ex:
- return f'- {resp.status}: {html.escape(str(ex))}'
+ return f'- {resp.status}: {html.escape(type(ex).__name__)}: {html.escape(str(ex))}'
if json['success']:
text = ''
if json['results']['attributes']['intellivoid_accounts_verified']: