You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In former version(0.9.0), the error message was in Json format like
{"code":604,"success":false,"error":"adfaefaf process not found exit status 1"}
However, in 1.2.0, it is like
`/opt/chaosblade-1.2.0/blade create process kill --process-cmd adfaefaf`: cmd exec failed, err: {"code":47002,"success":false,"error":"invalid parameter `process-cmd`, `adfaefaf` process not found","result":"invalid parameter `process-cmd`, `adfaefaf` process not found"}
There is no release note explaining reason for this change. The free format response is hard for to parse.
Describe what you expected to happen
Server response error message is in Json format.
How to reproduce it (as minimally and precisely as possible)
Issue Description
bug report
Describe what happened (or what feature you want)
In former version(0.9.0), the error message was in Json format like
However, in 1.2.0, it is like
There is no release note explaining reason for this change. The free format response is hard for to parse.
Describe what you expected to happen
Server response error message is in Json format.
How to reproduce it (as minimally and precisely as possible)
http://IP:Port/chaosblade?cmd=create%20process%20kill%20--process-cmd%20adfaefaf
1.
2.
3.
Tell us your environment
Anything else we need to know?
The text was updated successfully, but these errors were encountered: