)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":16628,"name":"Beth Elwell","email":"e.r.elwell@gmail.com","username":"bethelwell"},"change_message_id":"28062a6b0c658ba4f58f4473bcb21d46d25c5c7d","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix the error format of glance\u0027s createImage"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Uppon failure, the createImage function returned a raw xhr error"},{"line_number":10,"context_line":"that was incompatible with the wizard modal, making it display"},{"line_number":11,"context_line":"the [Object object] error."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"9f436f4f_532dd992","line":9,"updated":"2017-08-17 11:32:11.000000000","message":"minor spelling nit Uppon -\u003e Upon","commit_id":"09a2afef35a2428ed7a551a3f16247e815fbabbd"}],"openstack_dashboard/static/app/core/openstack-service-api/glance.service.js":[{"author":{"_account_id":7156,"name":"Mathieu Gagné","email":"mgagne@calavera.ca","username":"mgagne"},"change_message_id":"ca9efad778fd89dd759a01f12aa19ef1bcf2a178","unresolved":false,"context_lines":[{"line_number":170,"context_line":"      }"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"      function onError() {"},{"line_number":173,"context_line":"        throw gettext(\u0027Unable to create the image.\u0027);"},{"line_number":174,"context_line":"      }"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"      return apiService[method](\u0027/api/glance/images/\u0027, image)"}],"source_content_type":"text/javascript","patch_set":1,"id":"ff346bd7_9305f016","line":173,"updated":"2017-07-26 21:24:08.000000000","message":"Previous implementation showed the original Glance API error (if it was one) to the user. We now lose this detail from the error message, it\u0027s a generic one, irregardless of it being an XHR error or one coming from the Glance API.","commit_id":"bd6c4448f2f32002253e67f3089ea27809baa576"},{"author":{"_account_id":16628,"name":"Beth Elwell","email":"e.r.elwell@gmail.com","username":"bethelwell"},"change_message_id":"28062a6b0c658ba4f58f4473bcb21d46d25c5c7d","unresolved":false,"context_lines":[{"line_number":173,"context_line":"        if (error \u0026\u0026 error.data) {"},{"line_number":174,"context_line":"          throw error;"},{"line_number":175,"context_line":"        } else {"},{"line_number":176,"context_line":"          throw gettext(\u0027Unable to create the image.\u0027);"},{"line_number":177,"context_line":"        }"},{"line_number":178,"context_line":"      }"},{"line_number":179,"context_line":""}],"source_content_type":"text/javascript","patch_set":3,"id":"9f436f4f_734fbd6a","line":176,"updated":"2017-08-17 11:32:11.000000000","message":"If this is an unexpected error rather than a glance error, is it usually just a glitch and it is worth the user trying again or a deeper problem in their setup? Might be worth mentioning that it hit an unexpected error and try again or something relevant to the situation to aid the user in proceeding?","commit_id":"09a2afef35a2428ed7a551a3f16247e815fbabbd"}]}
