Skip to content

Commit b6d438c

Browse files
authored
Update orchestration/src/main/java/com/sap/ai/sdk/orchestration/OrchestrationChatResponse.java
1 parent d401e43 commit b6d438c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orchestration/src/main/java/com/sap/ai/sdk/orchestration/OrchestrationChatResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public <T> T asEntity(@Nonnull final Class<T> type) throws OrchestrationClientEx
139139
return new ObjectMapper().readValue(getContent(), type);
140140
} catch (InvalidDefinitionException e) {
141141
throw new OrchestrationClientException(
142-
"Failed to deserialize the JSON content. Please make sure to use the correct class and that the class has a no-args constructor or is static: "
142+
"Failed to deserialize the JSON content. Please make sure to use the correct class and that the class has a no-args constructor and it is static: "
143143
+ e.getMessage()
144144
+ "\nJSON content: "
145145
+ getContent(),

0 commit comments

Comments
 (0)