aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_protocol/cryptonote_protocol_handler-base.cpp
diff options
context:
space:
mode:
authorwarptangent <warptangent@tutanota.com>2015-12-13 08:45:03 -0800
committerwarptangent <warptangent@tutanota.com>2015-12-13 09:09:46 -0800
commit79ff6a5a56888ed5ca9d75db0c1fcac94a51e65c (patch)
tree3800eb4c5a35f993e86ac1915011c9f8e8e4712b /src/cryptonote_protocol/cryptonote_protocol_handler-base.cpp
parente175205e6e6314709aa1a8472f72be583771cd8a (diff)
downloadmonzero-core-79ff6a5a56888ed5ca9d75db0c1fcac94a51e65c.tar.gz
monzero-core-79ff6a5a56888ed5ca9d75db0c1fcac94a51e65c.tar.xz
monzero-core-79ff6a5a56888ed5ca9d75db0c1fcac94a51e65c.zip
Add LMDB error string to database transaction exception message
When throwing an exception from being unable to begin an LMDB transaction, include the reason. It's often been due to a write transaction attempted within a write transaction (batch mode), but there can be other reasons such as write transaction attempted while database was opened read only, or environment's map needs to be resized.
Diffstat (limited to 'src/cryptonote_protocol/cryptonote_protocol_handler-base.cpp')
0 files changed, 0 insertions, 0 deletions