#FEATURE by exept
authorClaus Gittinger <cg@exept.de>
Wed, 04 Sep 2019 23:26:22 +0200
changeset 19115 c35226ab9760
parent 19114 8fa0596547b7
child 19116 17ad5497260c
#FEATURE by exept class: InspectorView changed: #displayStringForValue: error handling
InspectorView.st
--- 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
             ].
         ].