diff options
| author | Russell Bryant <rbryant@redhat.com> | 2013-03-05 10:50:15 -0500 |
|---|---|---|
| committer | Russell Bryant <rbryant@redhat.com> | 2013-03-05 10:50:15 -0500 |
| commit | f32af7b42e7801338583f67e794792f22df70a5d (patch) | |
| tree | 6ec5aed6ed6ec4b7b4050a0d732f69cf5c335abc /doc/source | |
| parent | 2cb8e4557b05f92fbd9f56b7a6a6d4f35c8a883a (diff) | |
| download | oslo-f32af7b42e7801338583f67e794792f22df70a5d.tar.gz oslo-f32af7b42e7801338583f67e794792f22df70a5d.tar.xz oslo-f32af7b42e7801338583f67e794792f22df70a5d.zip | |
Preserve exceptions in impl_zmq.
There is complication with re-raising exceptions and our usage of
eventlet. If the code in the exception handler accesses the db or rpc
in the exception handler, it will no longer be able to re-raise the
exception. Using excutils.save_and_reraise_exception() works aorund
this issue.
The most common error is calling LOG.error() or LOG.exception(), as it
is possible for these to go access rpc. There is an option to turn on
notifications for these errors.
Fix bug 845866.
Change-Id: Ic914bba4703200ed114a42e3a55402883b430407
Diffstat (limited to 'doc/source')
0 files changed, 0 insertions, 0 deletions
