diff options
| author | Misko Hevery | 2010-11-16 13:57:41 -0800 | 
|---|---|---|
| committer | Igor Minar | 2010-11-16 14:19:55 -0800 | 
| commit | b2d63ac48bdc61b5a4afdd10b8485c0c1ab8cdca (patch) | |
| tree | 0b798ba07d5b593dcc3e27964e81eb0542440d56 /src/Scope.js | |
| parent | 4af32de84a264e05eebfa6dbc09ce10fac1e1417 (diff) | |
| download | angular.js-b2d63ac48bdc61b5a4afdd10b8485c0c1ab8cdca.tar.bz2 | |
Changed error handling so that better stack traces are displayed in the ng-errors
Diffstat (limited to 'src/Scope.js')
| -rw-r--r-- | src/Scope.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/Scope.js b/src/Scope.js index 1f8e81e5..64019be4 100644 --- a/src/Scope.js +++ b/src/Scope.js @@ -101,7 +101,7 @@ function expressionCompile(exp){  }  function errorHandlerFor(element, error) { -  elementError(element, NG_EXCEPTION, isDefined(error) ? toJson(error) : error); +  elementError(element, NG_EXCEPTION, isDefined(error) ? formatError(error) : error);  }  function createScope(parent, providers, instanceCache) { | 
