Print the reason why a notification spec failed to parse

This commit is contained in:
moneromooo-monero 2019-02-13 14:04:09 +00:00
parent 356d813799
commit a17da7202b
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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;