Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/servicebus/service-bus/src/receiver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ export class SessionReceiver {
});
// By this point, we should have a valid sessionId on the messageSession
// If not, the receiver cannot be used, so throw error.
if (!this._messageSession.sessionId) {
if (this._messageSession.sessionId == null) {
const error = new Error("Something went wrong. Cannot lock a session.");
log.error(`[${this._context.namespace.connectionId}] %O`, error);
throw error;
Expand Down