aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-03-07 17:31:46 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-03-11 15:41:53 +0100
commit019d86a056ecb036da243a3304a3220b15e0bfd5 (patch)
treead3db66fd9b158861de38214fafd50f655d95fc8
parent7132b01a499568c21a7ec64b9c58672541bbb7f6 (diff)
downloadlibnitrokey-019d86a056ecb036da243a3304a3220b15e0bfd5.tar.gz
libnitrokey-019d86a056ecb036da243a3304a3220b15e0bfd5.tar.bz2
Add TODO comment
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-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++;