We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 56c9ba3 + 3e69c59 commit 957043fCopy full SHA for 957043f
1 file changed
generate/templates/partials/async_function.cc
@@ -103,8 +103,6 @@ void {{ cppClassName }}::{{ cppFunctionName }}Worker::Execute() {
103
}
104
105
void {{ cppClassName }}::{{ cppFunctionName }}Worker::HandleOKCallback() {
106
- TryCatch try_catch;
107
-
108
if (baton->error_code == GIT_OK) {
109
{%if not .|returnsCount %}
110
Handle<v8::Value> result = NanUndefined();
@@ -162,10 +160,6 @@ void {{ cppClassName }}::{{ cppFunctionName }}Worker::HandleOKCallback() {
162
160
{%endeach%}
163
161
164
165
- if (try_catch.HasCaught()) {
166
- node::FatalException(try_catch);
167
- }
168
169
{%each args|argsInfo as arg %}
170
{%if arg.isCppClassStringOrArray %}
171
{%if arg.freeFunctionName %}
0 commit comments