Explorar el Código

Fixes issue #823

Rethrow errors happening inside the Amber stack.
Nicolas Petton hace 10 años
padre
commit
2d7a2cea9a
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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;
 				}
 			}
 		};