aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoin-cli.cpp
diff options
context:
space:
mode:
authorChun Kuan Lee <ken2812221@gmail.com>2018-10-14 04:24:38 +0800
committerChun Kuan Lee <ken2812221@gmail.com>2018-10-15 10:32:43 +0800
commitb7df96f4565064bcb7cbbf7e2507e03bdcf339f0 (patch)
tree9b5a326402b2de1c2f9a9bb36f6ec4756d35fd9c /src/bitcoin-cli.cpp
parentbe992701b018f256db6d64786624be4cb60d8975 (diff)
downloadbitcoin-b7df96f4565064bcb7cbbf7e2507e03bdcf339f0.tar.xz
refactor: Drop boost::this_thread::interruption_point and boost::thread_interrupted in main thread
Diffstat (limited to 'src/bitcoin-cli.cpp')
-rw-r--r--src/bitcoin-cli.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/bitcoin-cli.cpp b/src/bitcoin-cli.cpp
index f466505114..ba4586012d 100644
--- a/src/bitcoin-cli.cpp
+++ b/src/bitcoin-cli.cpp
@@ -492,9 +492,6 @@ static int CommandLineRPC(int argc, char *argv[])
}
} while (fWait);
}
- catch (const boost::thread_interrupted&) {
- throw;
- }
catch (const std::exception& e) {
strPrint = std::string("error: ") + e.what();
nRet = EXIT_FAILURE;