aemc
aemc copied to clipboard
Improve package deploy fail interpretation
https://helpx.adobe.com/experience-manager/kb/Fix-pack-installation-fails-with-tree-does-not-exist-AEM.html
INFO[2024-05-09 20:04:36] staging_publish_1 > uploading package 'all/target/acme.all-6.0.0-SNAPSHOT.zip'
ERRO[2024-05-09 20:04:39] staging_publish_1 > cannot upload package 'all/target/acme.all-6.0.0-SNAPSHOT.zip'; unexpected status: This tree does not exist
how about improving interpretFail
method to suggest credentials problem or updating user to admin and checking his pwd?
https://github.com/wttech/aemc/blob/8f98e09c40ec0b1890983af2f5935fe4daf4eb8b/pkg/package_manager.go#L466