added fault light option to the board utility

This commit is contained in:
UpstreamData
2022-04-29 10:18:16 -06:00
parent d0aa219a7a
commit 247cf0ccc2
5 changed files with 48 additions and 5 deletions

View File

@@ -197,5 +197,5 @@ If you are sure you want to use this command please use API.send_command("{item}
parsed_data = json.loads(str_data)
# handle bad json
except json.decoder.JSONDecodeError as e:
raise APIError(f"Decode Error: {str_data}")
raise APIError(f"Decode Error {e}: {str_data}")
return parsed_data