Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit 4671330

Browse files
ferhatbchirayuk
authored andcommitted
fix: missing exception detail in bindings
For a binding such as <input ng-change="ctrl.foo()"> , if an exception happens inside foo() the exception is misleading and the original exception is not reported. Closes #1242
1 parent 42725bb commit 4671330

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/core/parser/parser_dynamic.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class DynamicClosureMap implements ClosureMap {
4848
try {
4949
return reflect(o).invoke(symbol, posArgs, sNamedArgs).reflectee;
5050
} on NoSuchMethodError catch (e) {
51-
throw 'Undefined function $name';
51+
throw 'Undefined function or exception in $name $e';
5252
}
5353
}
5454
};

0 commit comments

Comments
 (0)