Skip to content

Commit b5f55e5

Browse files
carlhoerbergbaelter
authored andcommitted
fixup! fix: propagate channel errors to connection and handle channel close properly
1 parent 990c46c commit b5f55e5

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/amqp-channel.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,6 @@ export class AMQPChannel {
776776
// Reject and clear all unconfirmed publishes
777777
this.unconfirmedPublishes.forEach(([, , reject]) => reject(err))
778778
this.unconfirmedPublishes.length = 0
779-
780779
if (closedByServer) this.onerror(err.message)
781780
}
782781
}

0 commit comments

Comments
 (0)