We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9cc8f79 + 74839fe commit b91f50fCopy full SHA for b91f50f
adafruit_lifx.py
@@ -68,7 +68,7 @@ def _parse_resp(response: Response) -> str:
68
from the LIFX HTTP API.
69
"""
70
if response.status_code == 422:
71
- raise Exception(
+ raise RuntimeError(
72
"Error: light(s) could not be toggled: " + response["error"]
73
)
74
try:
0 commit comments