#FEATURE by exept
class: InspectorView
changed: #displayStringForValue:
error handling
--- a/InspectorView.st Wed Sep 04 16:38:18 2019 +0200
+++ b/InspectorView.st Wed Sep 04 23:26:22 2019 +0200
@@ -3221,11 +3221,11 @@
sel isNil ifTrue:[^ someValue].
extraAttributes := self myObjectsInspectorExtraAttributes.
- extraAttributes at:sel ifPresent:[:extraAttributeBlock|
- "evaluate the extraAttributeBlock"
- Error handle:[:ex |
- ^ '<< error in displayString: %1 >>' bindWith:ex description.
- ] do:[
+ Error handle:[:ex |
+ ^ '<< error in displayString: %1 >>' bindWith:ex description.
+ ] do:[
+ extraAttributes at:sel ifPresent:[:extraAttributeBlock|
+ "evaluate the extraAttributeBlock"
^ extraAttributeBlock value displayString
].
].