1
0
Jelajahi Sumber

Fixes issue #823

Rethrow errors happening inside the Amber stack.
Nicolas Petton 10 tahun lalu
induk
melakukan
2d7a2cea9a
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      support/boot.js

+ 2 - 0
support/boot.js

@@ -881,6 +881,8 @@ define("amber_vm/boot", [ 'require', './browser-compatibility' ], function (requ
 				} catch(error) {
 					handleError(error);
 					st.thisContext = null;
+					// Rethrow the error in any case.
+					throw error;
 				}
 			}
 		};