You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@inlong.apache.org by "aloyszhang (via GitHub)" <gi...@apache.org> on 2024/03/27 08:29:57 UTC
[I] [Bug][Manager] manager client error message has wrong format [inlong]
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: dev-unsubscribe@inlong.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug][Manager] manager client error message has wrong format [inlong]
Posted by "dockerzhang (via GitHub)" <gi...@apache.org>.
dockerzhang closed issue #9876: [Bug][Manager] manager client error message has wrong format
URL: https://github.com/apache/inlong/issues/9876
--
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: dev-unsubscribe@inlong.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org