mirror of https://github.com/apache/cloudstack.git
bug 14599: initialize errorString to not null value to ensure valid json response even in case when api server doesn't reset errorString while forming the response.
This commit is contained in:
parent
192e820df5
commit
4cf8954d37
|
|
@ -25,7 +25,7 @@ public class ExceptionResponse extends BaseResponse {
|
|||
private Integer errorCode;
|
||||
|
||||
@SerializedName("errortext") @Param(description="the text associated with this error")
|
||||
private String errorText;
|
||||
private String errorText = "Command failed due to Internal Server Error";
|
||||
|
||||
public Integer getErrorCode() {
|
||||
return errorCode;
|
||||
|
|
|
|||
Loading…
Reference in New Issue