mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
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
9bd2ac43ac
commit
1e0d976dc5
@ -33,7 +33,7 @@ public class ExceptionResponse extends BaseResponse {
|
||||
private Integer csErrorCode;
|
||||
|
||||
@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…
x
Reference in New Issue
Block a user