This results in those errors being shown to the user (most likely - a developer) in our flash messages. The problem is that this is NOT a behavior real users would encounter in regard to these AJAX issues. As such it is hard to empathize with what the user is seeing/experiencing from these sort of issues as the UI/UX we get in debug mode differs from the UI/UX the real (non-debug mode) users get.
I propose we move to a model where the DEBUG setting, set on the back-end, if set to True, is exposed to the front-end, and if there is a AJAX error, we dump it in to console.log() (assuming it is available) for developers to still be able to see, use, and debug with, but NOT in a manner that has a different UX that what real (non-debug-mode) users would see.
Fix proposed to branch: master /review. openstack. org/11383
Review: https:/