diff --git a/tconnectsync/parser/tconnect.py b/tconnectsync/parser/tconnect.py index 2386ab3..ed64ed5 100644 --- a/tconnectsync/parser/tconnect.py +++ b/tconnectsync/parser/tconnect.py @@ -215,4 +215,5 @@ def __init__(self, data): class UnknownTherapyEventException(Exception): def __init__(self, data): - super().__init__("Unknown therapy event type: " % data) + typ = data["type"] + super().__init__(f"Unknown therapy event type: {typ} in {data}")