Skip to content

Commit d78f443

Browse files
committed
Enrich message displayed by Data Display Paint Component
1 parent 69acbca commit d78f443

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/paintcomponents/data/DataDisplayPaintComponent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public void updateDisplayText() throws NoSuchElementException, NoConnectingLineS
3434
if(data instanceof String){
3535
this.setDisplayingText(data.toString());
3636
} else {
37-
this.setDisplayingText("Error: Not A String :: " + data.toString());
37+
this.setDisplayingText("Error: Not A String :: " + "Type : " + data.getClass().toString() + " Value: " + data.toString());
3838
}
3939
}
4040

0 commit comments

Comments
 (0)