Skip to content

Commit f701114

Browse files
authored
[CI-4521] Add exception message (#165)
1 parent c2ca38c commit f701114

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

constructorio-client/src/main/java/io/constructor/client/ConstructorIO.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2024,7 +2024,7 @@ protected static String getResponseBody(Response response) throws ConstructorExc
20242024
errorCode = response.code();
20252025
}
20262026
} catch (Exception e) {
2027-
errorMessage = "[HTTP " + response.code() + "]";
2027+
errorMessage = "[HTTP " + response.code() + "] Exception: " + e.getMessage();
20282028
} finally {
20292029
response.close();
20302030
}

0 commit comments

Comments
 (0)