diff options
| author | Pete Bacon Darwin | 2013-07-31 10:09:23 +0100 | 
|---|---|---|
| committer | Pete Bacon Darwin | 2013-07-31 21:17:38 +0100 | 
| commit | 664526d69c927370c93a06745ca38de7cd03a7be (patch) | |
| tree | cba5fe7694f91fad72ade0a8490e6fd1b6300482 /src/ngMock/angular-mocks.js | |
| parent | a644ca7b4e6ba84a467bcabed8f99386eda7fb14 (diff) | |
| download | angular.js-664526d69c927370c93a06745ca38de7cd03a7be.tar.bz2 | |
fix($q): call `reject()` even if `$exceptionHandler` rethrows
Normally $exceptionHandler doesn't throw an exception.  It is normally
used just for logging and so on.  But if an application developer
implemented a version that did throw an exception then $q would never
have called reject() when converting an exception thrown inside a `then`
handler into a rejected promise.
Diffstat (limited to 'src/ngMock/angular-mocks.js')
0 files changed, 0 insertions, 0 deletions
