Skip to content

Commit

Permalink
Merge pull request #376 from marko-bekhta/test/log-part-of-the-file-w…
Browse files Browse the repository at this point in the history
…ith-unexpected-formatting

Include part of the guide body that has unexpected formatting in the logged message
  • Loading branch information
marko-bekhta authored Dec 4, 2024
2 parents eca4c58 + 209be99 commit e39d28d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public String toIndexedValue(InputProvider provider, ValueBridgeToIndexedValueCo
return encode(content);
} else {
Log.warnf(
"Was unable to find the content section of a guide. Using whole document as text. %s",
provider);
"Was unable to find the content section of a guide. Using whole document as text. %s Document starts with: %.10000s",
provider, body.toString());
return encode(body);
}
}
Expand Down

0 comments on commit e39d28d

Please sign in to comment.