You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a number of places that catch exceptions and don't log the exception message (.what()). Consider adding the exception info at these locations:
src/ripple/basics/impl/make_SSLContext.cpp|348 col 9| catch (std::exception const&)
src/ripple/app/misc/impl/Manifest.cpp|151 col 5| catch (std::exception const&)
src/ripple/app/misc/impl/Manifest.cpp|282 col 5| catch (std::exception const&)
src/ripple/app/misc/impl/ValidatorSite.cpp|340 col 5| catch (std::exception &)
src/ripple/app/misc/NetworkOPs.cpp|892 col 5| catch (std::exception const&)
src/ripple/app/consensus/RCLConsensus.cpp|579 col 17| catch (std::exception const&)
src/ripple/app/ledger/impl/TransactionAcquire.cpp|239 col 5| catch (std::exception const&)
src/ripple/app/ledger/impl/LedgerMaster.cpp|746 col 13| catch (std::exception const&)
src/ripple/app/ledger/impl/LedgerMaster.cpp|1098 col 5| catch (std::exception const&)
src/ripple/app/ledger/impl/LedgerMaster.cpp|1227 col 5| catch (std::exception const&)
src/ripple/app/ledger/impl/LedgerMaster.cpp|1798 col 13| catch (std::exception const&)
src/ripple/app/ledger/impl/LedgerMaster.cpp|2093 col 5| catch (std::exception const&)
src/ripple/app/ledger/impl/OpenLedger.cpp|237 col 9| catch(std::exception const&)
src/ripple/app/ledger/Ledger.cpp|841 col 5| catch (std::exception const&)
src/ripple/app/ledger/OpenLedger.h|230 col 9| catch(std::exception const&)
src/ripple/app/ledger/ConsensusTransSetSF.cpp|69 col 9| catch (std::exception const&)
src/ripple/app/tx/impl/apply.cpp|152 col 5| catch (std::exception const&)
src/ripple/shamap/impl/SHAMap.cpp|159 col 13| catch (std::exception const&)
src/ripple/protocol/impl/STValidation.cpp|116 col 5| catch (std::exception const&)
src/ripple/rpc/handlers/PayChanClaim.cpp|83 col 5| catch (std::exception&)
src/ripple/overlay/impl/PeerImp.cpp|1520 col 5| catch (std::exception const&)
src/ripple/overlay/impl/PeerImp.cpp|2307 col 5| catch (std::exception const&)
src/ripple/overlay/impl/PeerImp.cpp|2381 col 5| catch (std::exception const&)
The following locations either don't log at all or need a closer review to decide if the exception message would be useful:
src/ripple/app/consensus/RCLConsensus.cpp|467 col 9| catch (std::exception const&)
src/ripple/app/ledger/impl/BuildLedger.cpp|142 col 13| catch (std::exception const&)
src/ripple/app/ledger/OrderBookDB.cpp|297 col 13| catch (std::exception const&)
src/ripple/app/paths/Pathfinder.cpp|438 col 5| catch (std::exception const&)
src/ripple/app/ledger/impl/LedgerToJson.cpp|176 col 5| catch (std::exception const&)
src/ripple/app/ledger/impl/InboundLedgers.cpp|285 col 9| catch (std::exception const&)
src/ripple/protocol/impl/STTx.cpp|199 col 5| catch (std::exception const&)
The text was updated successfully, but these errors were encountered:
Log exception messages at several locations.
Previously, these were locations where an exception was caught, but the
exception message was not logged. Logging the exception messages can be
useful for analysis or debugging. The additional logging could have a
small negative performance impact.
Fix#3213.
There are a number of places that catch exceptions and don't log the exception message (
.what()
). Consider adding the exception info at these locations:The following locations either don't log at all or need a closer review to decide if the exception message would be useful:
The text was updated successfully, but these errors were encountered: