]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Log stack trace for middleware faults
authorEric Harney <eharney@redhat.com>
Tue, 9 Feb 2016 16:57:32 +0000 (11:57 -0500)
committerEric Harney <eharney@redhat.com>
Tue, 9 Feb 2016 16:57:32 +0000 (11:57 -0500)
commitccdfd0448b3f97d8fe533472f09274703c7e650f
tree8735d65444fbbcfed17956adc67ebbbd1adbffca
parent898a63be9ffe7b058e5078c842ed15a9a4619d65
Log stack trace for middleware faults

If an error occurs in the middleware layer,
such as an exception generated by keystoneclient,
there is no stack trace provided, leaving the
issue difficult to debug.

Log a stack trace here with LOG.exception instead.

Change-Id: I7bc7c74e8b701fac351572a3bb9d934c7f67d425
cinder/api/middleware/fault.py