Skip to content

Commit

Permalink
Fix error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
williamjacksn authored Dec 16, 2024
1 parent 587e2cd commit a8802ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wormgas/cogs/rainwave.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ async def _call(self, path: str, params: dict = None):
log.debug(f'{response.status} {content}')
if response.status == 200:
return await response.json()
log.critical(response.json())
log.critical(f'Response status is {response.status}')
log.critical(await response.json())
raise RuntimeError

@staticmethod
Expand Down

0 comments on commit a8802ee

Please sign in to comment.