fix: removed stacktrace printing when result error is set (#119)

We don't need stack trace to be printed when we return the exception in the result.error as it will be returned in the reject callback.
Fixes https://github.com/NativeScript/tns-core-modules-widgets/issues/118
This commit is contained in:
Vasil Trifonov
2018-04-11 10:44:20 +03:00
committed by GitHub
parent 783ea4eb6b
commit 54fd9774e7

View File

@@ -561,7 +561,6 @@ public class Async
}
catch (Exception e) // TODO: Catch all exceptions?
{
e.printStackTrace();
result.error = e;
return result;