mirror of https://github.com/grpc/grpc-node.git
grpc-js: Fix mistakenly committed testing changes
This commit is contained in:
parent
8d64030d10
commit
45e277547f
|
@ -347,13 +347,13 @@ export class Client {
|
||||||
code: Status.INTERNAL,
|
code: Status.INTERNAL,
|
||||||
details: 'No message received',
|
details: 'No message received',
|
||||||
metadata: status.metadata
|
metadata: status.metadata
|
||||||
}, /*callerStack*/''));
|
}, callerStack));
|
||||||
} else {
|
} else {
|
||||||
callProperties.callback!(null, responseMessage);
|
callProperties.callback!(null, responseMessage);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
const callerStack = getErrorStackString(callerStackError!);
|
const callerStack = getErrorStackString(callerStackError!);
|
||||||
callProperties.callback!(callErrorFromStatus(status, /*callerStack*/''));
|
callProperties.callback!(callErrorFromStatus(status, callerStack));
|
||||||
}
|
}
|
||||||
/* Avoid retaining the callerStackError object in the call context of
|
/* Avoid retaining the callerStackError object in the call context of
|
||||||
* the status event handler. */
|
* the status event handler. */
|
||||||
|
|
Loading…
Reference in New Issue