aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorp01arst0rm <polar@ever3st.com>2020-06-17 03:15:47 +0100
committerp01arst0rm <polar@ever3st.com>2020-06-17 03:15:47 +0100
commitc9d06558b6cfb30cb6ad7d872ec1046434645b3b (patch)
tree58602440ad4ccd3b60c309ff27f692b33210dde5 /src/libstore
parent29542865cee37ab22efe1bd142900b69f6c59f0d (diff)
replaced uncaught_exception with uncaught_exceptions
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/remote-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc
index fc5ab5865..f5f2ab7fd 100644
--- a/src/libstore/remote-store.cc
+++ b/src/libstore/remote-store.cc
@@ -228,7 +228,7 @@ struct ConnectionHandle
~ConnectionHandle()
{
- if (!daemonException && std::uncaught_exception()) {
+ if (!daemonException && std::uncaught_exceptions()) {
handle.markBad();
debug("closing daemon connection because of an exception");
}