You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by "Byron Hsu (Jira)" <ji...@apache.org> on 2020/10/16 07:13:00 UTC
[jira] [Created] (SUBMARINE-662) Clarify the error message when
sending duplicated experiment
Byron Hsu created SUBMARINE-662:
-----------------------------------
Summary: Clarify the error message when sending duplicated experiment
Key: SUBMARINE-662
URL: https://issues.apache.org/jira/browse/SUBMARINE-662
Project: Apache Submarine
Issue Type: Improvement
Reporter: Byron Hsu
When we send an experiment POST request that has the same name as the previous ones, it will raise an error. However, the error message does not explain the error clearly, it only says that there is a Conflict. (as the following)
{code:java}
{
"status": "CONFLICT",
"code": 409,
"success": null,
"message": "Conflict",
"result": null,
"attributes": {}
}
{code}
To let users understand the cause of the error better, I change the message from "Conflict" to "Duplicated experiment".
{code:java}
{
"status": "CONFLICT",
"code": 409,
"success": null,
"message": "Duplicated Experiment",
"result": null,
"attributes": {}
}{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org