Archived
1
0
Fork 0
This commit is contained in:
多羅狼 2023-04-18 15:18:18 +08:00 committed by GitHub
parent 2aca6fe4ce
commit 547413adf2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,5 +48,5 @@ async def _(msg: Bot.MessageSession):
await msg.finish(f'{amount} {base_currency} -> {exchange_rate} {target_currency}\n{current_time}')
else:
data = response.json()
error_type = ', '.join(data['error-type'])
error_type = join(data['error-type'])
raise NoReportException(f"{error_type}")