Mercurial > libervia-backend
diff sat_frontends/jp/cmd_pubsub.py @ 3548:13e7ef106589
plugin XEP-0277: don't wrap `DataError` in `failure.Failure` in `parseCommentUrl` as it is not catched correctly:
`failure.Failure` is subclass of `BaseException` but not of `Exception`, as a result
`except Exception` doesn't catch it correctly. This is fixed by not wrapping `DataError`
in `failure.Failure` anymore.
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 04 Jun 2021 17:18:44 +0200 |
parents | 62f490eff51c |
children | 04283582966f |