We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f45f06 commit 491e0b6Copy full SHA for 491e0b6
src/main/java/org/mifos/connector/ams/pesacore/util/PesacoreUtils.java
@@ -7,7 +7,7 @@ public class PesacoreUtils {
7
8
public static String parseErrorDescriptionFromJsonPayload(String errorJson) {
9
if (errorJson == null || errorJson.isEmpty()) {
10
- return null;
+ return "Internal Server Error";
11
}
12
try {
13
JsonObject jsonObject = (new Gson()).fromJson(errorJson, JsonObject.class);
@@ -21,7 +21,7 @@ public static String parseErrorDescriptionFromJsonPayload(String errorJson) {
21
} catch (Exception e) {
22
System.out.println(e.getMessage());
23
24
25
26
27
0 commit comments