Handle errors without closing connection
Asked by
cybergrind
Hi all.
Hi all. I want to implement "redeclare exchange" for myself, but I lose connection every time, when get Error "530, NOT_ALLOWED - cannot redeclare exchange".
Is there any way to handle errors without closing connection?
Code:
try:
yield channel.
except Exception, mess:
print 'E1: %s'%mess
yield channel.
yield channel.
thanks.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- txAMQP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- cybergrind
- Solved:
- Last query:
- Last reply:
To post a message you must log in.