}).catch(function (error) { const msg = `Error while selecting local export path. ${error.message}`; if (RELEASE) { CEP.alert(msg); } logger.error(msg); });
}).catch(error => { const msg = `Error synchronizing the document list with Photoshop. ${error.message}`; if (RELEASE) { CEP.alert(msg); } logger.error(msg, error); }).finally(() =>