Skip to content

Commit

Permalink
#11792 handle review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Ludovic Orban <[email protected]>
  • Loading branch information
lorban committed May 15, 2024
1 parent 619e344 commit 508b8e5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@ private void appendCause(StringBuilder builder, Throwable cause, String indent,
builder.append(EOL).append(indent);
if (visited.contains(cause))
{
builder.append("[CIRCULAR REFERENCE: ").append(cause).append("]");
builder.append("[CIRCULAR REFERENCE: ");
appendEscaped(builder, cause.toString());
builder.append("]");
return;
}
visited.add(cause);
Expand Down

0 comments on commit 508b8e5

Please sign in to comment.