Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Errors during bootstrap SILENCED #1018

Closed
vojtajina opened this issue Jun 4, 2012 · 3 comments
Closed

Errors during bootstrap SILENCED #1018

vojtajina opened this issue Jun 4, 2012 · 3 comments
Assignees

Comments

@vojtajina
Copy link
Contributor

Errors during instantiation should be delegated to $exceptionHandler, errors during config phase should be probably just rethrown.

angular.module('app', [], function() {
  throw new Error('SILENCE');
}).controller('ErrorCtrl', function(err) {
  throw new Error('AGAIN SILENCE');
}).factory('err', function() {
  throw new Error('IGNORED AS WELL');
});
@ghost ghost assigned vojtajina Jun 4, 2012
@IgorMinar
Copy link
Contributor

uhhh.. that's bad!

@IgorMinar
Copy link
Contributor

this is likely related to #1033

@IgorMinar
Copy link
Contributor

I'm got burned by this recently. We must fix this asap. Assigning to myself!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants