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, 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. */