#QUALITY by cg
authorClaus Gittinger <cg@exept.de>
Tue, 03 May 2016 13:24:28 +0200
changeset 5697 41f084492b81
parent 5695 6be2731ac044
child 5698 d7fbbed80137
child 5699 1ebb2d421c0d
#QUALITY by cg class: EditTextViewCompletionSupport changed: #startCompletionProcess catch errors while completing
EditTextViewCompletionSupport.st
--- a/EditTextViewCompletionSupport.st	Mon May 02 17:44:41 2016 +0200
+++ b/EditTextViewCompletionSupport.st	Tue May 03 13:24:28 2016 +0200
@@ -231,7 +231,12 @@
 
     completionProcess := 
         [
-            self computeCompletions.
+            "/ protect end-user applications from errors
+            Error handle:[:ex |
+                Smalltalk isSmalltalkDevelopmentSystem ifTrue:[ ex reject ]
+            ] do:[    
+                self computeCompletions.
+            ].
         ] forkAt:(Processor activePriority - 1).
 
     "Modified: / 26-09-2013 / 17:36:11 / Jan Vrany <jan.vrany@fit.cvut.cz>"