grpc-js: Fix mistakenly committed testing changes

This commit is contained in:
Michael Lumish 2023-07-12 14:55:49 -07:00
parent 8d64030d10
commit 45e277547f
1 changed files with 2 additions and 2 deletions

View File

@ -347,13 +347,13 @@ export class Client {
code: Status.INTERNAL,
details: 'No message received',
metadata: status.metadata
}, /*callerStack*/''));
}, callerStack));
} else {
callProperties.callback!(null, responseMessage);
}
} else {
const callerStack = getErrorStackString(callerStackError!);
callProperties.callback!(callErrorFromStatus(status, /*callerStack*/''));
callProperties.callback!(callErrorFromStatus(status, callerStack));
}
/* Avoid retaining the callerStackError object in the call context of
* the status event handler. */