Skip to content

Commit

Permalink
updated logs
Browse files Browse the repository at this point in the history
  • Loading branch information
cs-raj committed Feb 16, 2024
1 parent 8dd6ad5 commit ae5d111
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ export default abstract class BaseClass {
.then(onSuccess)
.catch(onReject);
case 'update-extensions':
if(!apiData.uid) return Promise.resolve();;
return this.stack.extension(apiData.uid).fetch().then((extension) => {
extension.scope = apiData.scope
return extension.update()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export default class ContentTypesImport extends BaseClass {
}
log(this.importConfig, 'Updating the Extensions', 'success');
await this.createPendingExtensions();
log(this.importConfig, 'Extensions Updated', 'success');
await this.updatePendingGFs().catch((error) => {
log(this.importConfig, `Error while updating pending global field ${formatError(error)}`, 'error');
});
Expand Down

0 comments on commit ae5d111

Please sign in to comment.