diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-02-13 14:04:09 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-04 11:48:46 +0000 |
| commit | a17da7202bcd176a0134ebdaeba6fbce40e745fc (patch) | |
| tree | 1c8661ec9349c295b7842a5f1bfc0031eef12788 /src | |
| parent | 356d813799d9266ec923659e02f84a06071722d7 (diff) | |
| download | monzero-core-a17da7202bcd176a0134ebdaeba6fbce40e745fc.tar.gz monzero-core-a17da7202bcd176a0134ebdaeba6fbce40e745fc.tar.xz monzero-core-a17da7202bcd176a0134ebdaeba6fbce40e745fc.zip | |
Print the reason why a notification spec failed to parse
Diffstat (limited to 'src')
| -rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 4 | ||||
| -rw-r--r-- | src/wallet/wallet2.cpp | 2 |
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; |
