Skip to content

Commit

Permalink
catch exception from loading landingPageContent
Browse files Browse the repository at this point in the history
embed-html.js : promise() : include .catch() in the result value; this was to address an issue seen May31, possibly with rootURL: /app/; possibly not tested to confirm this change works and is necessary.
  • Loading branch information
Don-Isdale committed Jul 25, 2024
1 parent b54f21b commit 09be10b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/app/components/elem/embed-html.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export default Component.extend({
imgs.attr('src', function (index, val) { return val.replace(/^/, path + '/'); });
});
});
promise =
promise.catch(
function (/*jqXHR, statusText,*/ error) {
let callbackContext = this,
Expand Down

0 comments on commit 09be10b

Please sign in to comment.