コード例 #1
0
            }).catch(function (error)
            {
                const msg = `Error while selecting local export path. ${error.message}`;

                if (RELEASE)
                {
                    CEP.alert(msg);
                }

                logger.error(msg);
            });
コード例 #2
0
        }).catch(error =>
        {
            const msg = `Error synchronizing the document list with Photoshop. ${error.message}`;

            if (RELEASE)
            {
                CEP.alert(msg);
            }

            logger.error(msg, error);

        }).finally(() =>