Parcourir la source

do not throw catched JS exceptions

Nicolas Petton il y a 11 ans
Parent
commit
d025b45912
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      js/boot.js

+ 2 - 1
js/boot.js

@@ -576,7 +576,8 @@ function Smalltalk() {
 				st.thisContext = undefined;
                 // Throw the exception anyway, as we want to stop
                 // the execution to avoid infinite loops
-				throw error;
+                // Update: do not throw the exception. It's really annoying.
+				// throw error;
 			}
 		}
 	};