소스 검색

Fixes issue #823

Rethrow errors happening inside the Amber stack.
Nicolas Petton 11 년 전
부모
커밋
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;
 				}
 			}
 		};