aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/device_proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/device_proto.h b/include/device_proto.h
index ea8f136..1eb637f 100644
--- a/include/device_proto.h
+++ b/include/device_proto.h
@@ -370,7 +370,7 @@ namespace nitrokey {
if (!resp.isValid()) throw std::runtime_error("Invalid incoming packet");
if (receiving_retry_counter <= 0)
- throw std::runtime_error(
+ throw std::runtime_error( //TODO change to other kind to handle correctly by caller, communication exception?
"Maximum receiving_retry_counter count reached for receiving response from the device!");
dev->m_counters.communication_successful++;