Skip to content

Commit

Permalink
Set raise_for_status
Browse files Browse the repository at this point in the history
  • Loading branch information
tronikos committed Jul 11, 2024
1 parent de6cd57 commit 919bb8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/opower/opower.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ async def _async_fetch(
_LOGGER.debug("Fetching: %s?%s", url, urlencode(params))
try:
async with self.session.get(
url, params=params, headers=headers, raise_for_status=False
url, params=params, headers=headers, raise_for_status=True
) as resp:
result = await resp.json()
_LOGGER.log(
Expand Down

0 comments on commit 919bb8b

Please sign in to comment.