aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-12-08 10:42:49 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2018-02-28 19:23:17 +0100
commit9300a50676c2dfabe7e63797c610b2d48d0065cf (patch)
treeb7f11af28ff8426c8c3bb29b94c9cdb51b5b0691
parent388cf5fcb33f24bc04f79cd1fbea980214518d54 (diff)
downloadlibnitrokey-9300a50676c2dfabe7e63797c610b2d48d0065cf.tar.gz
libnitrokey-9300a50676c2dfabe7e63797c610b2d48d0065cf.tar.bz2
Do not disconnect device on getting status failure
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-rw-r--r--NitrokeyManager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc
index 4935076..e3e1730 100644
--- a/NitrokeyManager.cc
+++ b/NitrokeyManager.cc
@@ -336,7 +336,7 @@ using nitrokey::misc::strcpyT;
return response.data();
}
catch (DeviceSendingFailure &e){
- disconnect();
+// disconnect();
throw;
}
}