Skip to content

Commit

Permalink
Better throw on unexpected subscription errors (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollon77 authored Oct 29, 2023
1 parent 4779ac1 commit 1b701e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ export class SubscriptionHandler {
// We could not send at all, consider session as dead
await this.session.destroy(false);
} else {
await this.cancel();
throw error;
}
}
}
Expand Down

0 comments on commit 1b701e7

Please sign in to comment.