4
LOG = logging.getLogger('openstack_dashboard')
7
class DashboardLogUnhandledExceptionsMiddleware(object):
8
def process_exception(self, request, exception):
9
tb_text = traceback.format_exc()
10
LOG.critical('Unhandled Exception in dashboard. Exception "%s"'
11
'\n%s' % (str(exception), tb_text))