We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9d03f7 commit 461068eCopy full SHA for 461068e
src/main/java/com/microsoft/graph/http/GraphServiceException.java
@@ -201,8 +201,10 @@ public String getMessage(final boolean verbose) {
201
sb.append("[Warning: Unable to parse error message body]").append(NEW_LINE);
202
}
203
} else {
204
- sb.append(TRUNCATION_MARKER).append(NEW_LINE).append(NEW_LINE);
205
- sb.append("[Some information was truncated for brevity, enable debug logging for more details]");
+ if (!verbose) {
+ sb.append(TRUNCATION_MARKER).append(NEW_LINE).append(NEW_LINE);
206
+ sb.append("[Some information was truncated for brevity, enable debug logging for more details]");
207
+ }
208
209
return sb.toString();
210
0 commit comments