From 022ae120f8b967b979f3fc1468c975d914804b36 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 10 Dec 2014 15:09:08 -0800 Subject: [PATCH] do not print errors if we are continuing. --- src/bitcoindjs.cc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/bitcoindjs.cc b/src/bitcoindjs.cc index fa9c8033..9b0f6797 100644 --- a/src/bitcoindjs.cc +++ b/src/bitcoindjs.cc @@ -891,13 +891,15 @@ start_node_thread(void) { boost::bind(&DetectShutdownThread, &threadGroup)); fRet = AppInit2(threadGroup); } catch (std::exception& e) { - if (set_cooked()) { - fprintf(stderr, "bitcoind.js: AppInit(): std::exception\n"); - } + // if (set_cooked()) { + // fprintf(stderr, "bitcoind.js: AppInit(): std::exception\n"); + // } + ; } catch (...) { - if (set_cooked()) { - fprintf(stderr, "bitcoind.js: AppInit(): other exception\n"); - } + // if (set_cooked()) { + // fprintf(stderr, "bitcoind.js: AppInit(): other exception\n"); + // } + ; } if (!fRet) {