Commit 1bb9fe6
fix: propagate channel errors to connection and handle channel close properly
- Modify onerror handler in AMQPChannel to propagate errors to the connection level
- Ensure channel errors are properly handled regardless of closure reason
- Prevent propagation from connection channel (id=0) to avoid recursion
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent ea7bcca commit 1bb9fe6
1 file changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
32 | 38 | | |
33 | 39 | | |
34 | 40 | | |
| |||
760 | 766 | | |
761 | 767 | | |
762 | 768 | | |
763 | | - | |
764 | 769 | | |
765 | 770 | | |
766 | 771 | | |
| |||
770 | 775 | | |
771 | 776 | | |
772 | 777 | | |
773 | | - | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
774 | 783 | | |
775 | 784 | | |
776 | 785 | | |
| |||
0 commit comments