Commit f917c9c8 by Clinton Blackburn Committed by Clinton Blackburn

Printing error response when publication fails

This will better aid debugging.

LEARNER-2473
parent 9dffb63c
......@@ -157,8 +157,7 @@
showSuccessAlert('{% trans 'Successfully published to Studio, E-Commerce, and Discovery.' %}');
})
.fail(function(jqXHR, textStatus, errorThrown) {
debugger;
showFailureAlert('{% trans 'Publication failed.' %}');
showFailureAlert('{% trans 'Publication failed.' %} \n' + jqXHR.responseText);
});
}
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment