Skip to content

Commit

Permalink
dcompact_worker.cpp: CreatePluginTpl: error print json text
Browse files Browse the repository at this point in the history
  • Loading branch information
rockeet committed Nov 19, 2024
1 parent 9bfd088 commit acd50dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/dcompact/dcompact_worker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ void CreatePluginTpl(FILE* fp, const ObjectRpcParam& rpc,
spec = json::parse(rpc.params);
}
catch (const std::exception& ex) {
ERROR("%s: exception: %s", ROCKSDB_FUNC, ex);
ERROR("%s: exception: %s, json:---%s\n---", ROCKSDB_FUNC, ex, rpc.params);
THROW_Corruption(ex.what());
}
#else
Expand Down

0 comments on commit acd50dc

Please sign in to comment.