Skip to content

Commit 5794322

Browse files
committed
Better CpsBodySubContext.toString
1 parent 94b6fd3 commit 5794322

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plugin/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsBodySubContext.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ public int hashCode() {
5757
// Delegation to 'base' from here
5858
//======================================
5959

60+
@Override
61+
public String toString() {
62+
return "CpsBodySubContext[" + base + ":" + node.getId()+ "]";
63+
}
6064

6165
@Override
6266
public void onFailure(Throwable t) {

0 commit comments

Comments
 (0)