diff --git a/src/UI/UIWindowPublishWebsite.js b/src/UI/UIWindowPublishWebsite.js index 2ad81682..612fe561 100644 --- a/src/UI/UIWindowPublishWebsite.js +++ b/src/UI/UIWindowPublishWebsite.js @@ -109,6 +109,7 @@ async function UIWindowPublishWebsite(target_dir_uid, target_dir_name, target_di update_sites_cache(); }).catch((err)=>{ + err = err.error; $(el_window).find('.publish-website-error-msg').html( err.message + ( err.code === 'subdomain_limit_reached' ?