Browse Source

Fixes issue #823

Rethrow errors happening inside the Amber stack.
Nicolas Petton 10 years ago
parent
commit
2d7a2cea9a
1 changed files with 2 additions and 0 deletions
  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;
 				}
 			}
 		};