noeticpenguin / ngForce

Force.com && Angular.js integration framework.
noeticpenguin.github.io/ngForce
MIT License
142 stars 61 forks source link

Fix bug - safeApply outside of error object! #37

Closed Oblongmana closed 9 years ago

Oblongmana commented 9 years ago

Fixes a bug in my last PR #35 - was doing $rootScope.$safeApply() inside exception object creation - which of course causes the object to be invalid, and everything to explode :D Had this in local, but had neglected to commit before opening the PR

Oblongmana commented 9 years ago

Made an error, will force update this PR shortly

Oblongmana commented 9 years ago

Disregard above, confused myself when setting up for the provider fix. This PR is good to go :+1: