Commit 291d2099 authored by jssuzanne's avatar jssuzanne
Browse files

Don t catch the exceptions

branch : 8.0
parent 5b811ee5679f
......@@ -81,9 +81,6 @@ class AnyBusProfile(models.Model):
raise Exception("Can publish message")
except Exception as e:
self.write({'error': str(e)})
return False
if channel and not channel.is_closed and not channel.is_closing:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment