The specified or default timeout should be printed, to let the user clearly know the error
Enhancement
when doing a Stream Load with a small timeout, it fails with the following error message:
"Message": "STREAM_LOAD_TASK:37141, label{20231212-165500}, error_msg{cancel stream task for exception: Invalid timeout. Timeout should between 1 and 259200 seconds}"
I suggest to use the following error message: task_id/job_id/txn_id:37141, label:{20231212-165500}, error_msg{cancel stream task for exception: Invalid timeout. Timeout should between 1 and 259200 seconds, but the specified timeout is xxx seconds.}
here, what's the 37141? Is it a task_id or job_id or txn_id?
We have marked this issue as stale because it has been inactive for 6 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to StarRocks!