zhannngchen commented on code in PR #12360:
URL: https://github.com/apache/doris/pull/12360#discussion_r963661600


##########
be/src/runtime/tablets_channel.cpp:
##########
@@ -375,8 +375,10 @@ Status TabletsChannel::add_batch(const 
TabletWriterAddRequest& request,
         Status st = tablet_writer_it->second->write(&send_data, 
tablet_to_rowidxs_it.second);
         if (!st.ok()) {
             auto err_msg = strings::Substitute(
-                    "tablet writer write failed, tablet_id=$0, txn_id=$1, 
err=$2",
-                    tablet_to_rowidxs_it.first, _txn_id, st.code());
+                    "tablet writer write failed, tablet_id=$0, txn_id=$1, 
err=$2"
+                    ", errcode=$3, msg:$4",

Review Comment:
   errcode -> precise_code might be better?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to