Skip to content

Commit

Permalink
grpc-js: Fix mistakenly committed testing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
murgatroid99 committed Jul 12, 2023
1 parent 8d64030 commit 45e2775
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/grpc-js/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 45e2775

Please sign in to comment.