aloyszhang opened a new issue, #9876:
URL: https://github.com/apache/inlong/issues/9876
### What happened
Manager-client print error message when met exception like :
```shell
java.lang.IllegalArgumentException: Request to Inlong Inlong group already
exists failed: null
at
org.apache.inlong.manager.common.util.Preconditions.expectTrue(Preconditions.java:138)
at
org.apache.inlong.manager.client.api.util.ClientUtils.assertRespSuccess(ClientUtils.java:121)
at
org.apache.inlong.manager.client.api.inner.client.InlongGroupClient.createGroup(InlongGroupClient.java:166)
at org.example.Main.testGroup(Main.java:65)
at org.example.Main.main(Main.java:58)
```
The error message `Request to Inlong Inlong group already exists failed:
null` has the wrong format.
### What you expected to happen
The manager client prints the error message in a readable way.
### How to reproduce
Call the manager-client to generate an exception(e.g. create a duplicated
group) and see the error message.
### Environment
_No response_
### InLong version
master
### InLong Component
InLong Manager
### Are you willing to submit PR?
- [X] Yes, I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of
Conduct](https://www.apache.org/foundation/policies/conduct)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]