aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-02-13 14:04:09 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-03-04 11:48:46 +0000
commita17da7202bcd176a0134ebdaeba6fbce40e745fc (patch)
tree1c8661ec9349c295b7842a5f1bfc0031eef12788 /src
parentblockchain: include number of discarded blocks in --reorg-notify (diff)
downloadmonero-a17da7202bcd176a0134ebdaeba6fbce40e745fc.tar.xz
Print the reason why a notification spec failed to parse
Diffstat (limited to 'src')
-rw-r--r--src/cryptonote_core/cryptonote_core.cpp4
-rw-r--r--src/wallet/wallet2.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp
index 7f25b6851..599f42774 100644
--- a/src/cryptonote_core/cryptonote_core.cpp
+++ b/src/cryptonote_core/cryptonote_core.cpp
@@ -601,7 +601,7 @@ namespace cryptonote
}
catch (const std::exception &e)
{
- MERROR("Failed to parse block notify spec");
+ MERROR("Failed to parse block notify spec: " << e.what());
}
try
@@ -611,7 +611,7 @@ namespace cryptonote
}
catch (const std::exception &e)
{
- MERROR("Failed to parse reorg notify spec");
+ MERROR("Failed to parse reorg notify spec: " << e.what());
}
try
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index c02d10ab4..cfb1d8684 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -373,7 +373,7 @@ std::unique_ptr<tools::wallet2> make_basic(const boost::program_options::variabl
}
catch (const std::exception &e)
{
- MERROR("Failed to parse tx notify spec");
+ MERROR("Failed to parse tx notify spec: " << e.what());
}
return wallet;