Skip to content

Commit

Permalink
Merge pull request #8 from NitorCreations/tweaks
Browse files Browse the repository at this point in the history
Log the response that triggered the error
  • Loading branch information
Jalle19 authored Sep 12, 2024
2 parents e7d8b5f + 5e77dc1 commit 1615f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/vinx/lw3.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def get_response_type(response: str) -> ResponseType:
elif response[0] == "m":
return ResponseType.Method

raise ValueError("Unknown response type")
raise ValueError(f"Unknown response type: {response}")


def parse_single_line_response(response: str) -> SingleLineResponse:
Expand Down

0 comments on commit 1615f2a

Please sign in to comment.