Skip to content

Commit 8a6b9d1

Browse files
committed
chore: removed error code part
1 parent 78b171b commit 8a6b9d1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/com/contentstack/sdk/CSHttpConnection.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,6 @@ void setError(String errResp) {
281281
// If errResp is not valid JSON, create a new JSONObject with the error message
282282
responseJSON = new JSONObject();
283283
responseJSON.put(ERROR_MESSAGE, errResp);
284-
responseJSON.put(ERROR_CODE, "unknown");
285284
}
286285
responseJSON.put(ERROR_MESSAGE, responseJSON.optString(ERROR_MESSAGE));
287286
responseJSON.put(ERROR_CODE, responseJSON.optString(ERROR_CODE));

0 commit comments

Comments
 (0)