Changeset View
Changeset View
Standalone View
Standalone View
src/bitcoin-cli.cpp
Show First 20 Lines • Show All 592 Lines • ▼ Show 20 Lines | try { | ||||
} catch (const CConnectionFailed &) { | } catch (const CConnectionFailed &) { | ||||
if (fWait) { | if (fWait) { | ||||
MilliSleep(1000); | MilliSleep(1000); | ||||
} else { | } else { | ||||
throw; | throw; | ||||
} | } | ||||
} | } | ||||
} while (fWait); | } while (fWait); | ||||
} catch (const boost::thread_interrupted &) { | |||||
throw; | |||||
} catch (const std::exception &e) { | } catch (const std::exception &e) { | ||||
strPrint = std::string("error: ") + e.what(); | strPrint = std::string("error: ") + e.what(); | ||||
nRet = EXIT_FAILURE; | nRet = EXIT_FAILURE; | ||||
} catch (...) { | } catch (...) { | ||||
PrintExceptionContinue(nullptr, "CommandLineRPC()"); | PrintExceptionContinue(nullptr, "CommandLineRPC()"); | ||||
throw; | throw; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |