Improve fatal error message.
This commit is contained in:
parent
268dd2cf12
commit
c171c9a743
@ -66,7 +66,7 @@ SqliteKeyValue::SeqNo SqliteKeyValue::set(Slice key, Slice value) {
|
||||
set_stmt_.bind_blob(2, value).ensure();
|
||||
auto status = set_stmt_.step();
|
||||
if (status.is_error()) {
|
||||
LOG(FATAL) << "Failed to set \"" << key << '"';
|
||||
LOG(FATAL) << "Failed to set \"" << key << "\": " << status.error();
|
||||
}
|
||||
// set_stmt_.step().ensure();
|
||||
set_stmt_.reset();
|
||||
|
Loading…
Reference in New Issue
Block a user