diff --git a/corehq/apps/cloudcare/static/cloudcare/js/utils.js b/corehq/apps/cloudcare/static/cloudcare/js/utils.js index 755e759f3bb2..c5f193768d57 100644 --- a/corehq/apps/cloudcare/static/cloudcare/js/utils.js +++ b/corehq/apps/cloudcare/static/cloudcare/js/utils.js @@ -37,6 +37,11 @@ hqDefine('cloudcare/js/utils', [ var showError = function (message, $el, reportToHq) { message = getErrorMessage(message); + // Make message more user friendly since html isn't useful here + if (message.includes('500') && message.includes('')) { + message = 'Sorry, something went wrong. Please try again in a few minutes. ' + + 'If this problem persists, please report it to CommCare Support.'; + } _show(message, $el, null, "alert alert-danger"); if (reportToHq === undefined || reportToHq) { reportFormplayerErrorToHQ({