瀏覽代碼

Fixes issue #823

Rethrow errors happening inside the Amber stack.
Nicolas Petton 10 年之前
父節點
當前提交
2d7a2cea9a
共有 1 個文件被更改,包括 2 次插入0 次删除
  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;
 				}
 			}
 		};