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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to