sfpowerkit
sfpowerkit copied to clipboard
sfpowerkit gives unknown/standard error in diff command when XML is invalid
When there is a Invalid XML the diff command gives a unknown/standard error rather than giving the exact error of Invalid XML [Filename]
To Reproduce Generate a Invalid XML in any component When the Diff Command runs it will give you a standard error instead of letting us know the exact error (Invalid XML/Component)
- sfdx sfpowerkit:project:diff -d delta -r HEAD~ -t HEAD --json --loglevel debug
Expected behavior It should exact error mentioning invalid XML and File Name.
Screenshots
- OS: [e.g. Windows]
Thanks @satishpersonal for raising this. While we are looking to address it better, I would recommend running xmlint before doing a diff as a workaround
Hi @satishpersonal Is this issue has been resolved?
Hi Team,
As mentioned earlier, I'm using xmllint to resolve such kinds of issues.
On Wed, Dec 1, 2021 at 1:41 AM Henry @.***> wrote:
Hi @satishpersonal https://github.com/satishpersonal Is this issue has been resolved?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Accenture/sfpowerkit/issues/591#issuecomment-983168532, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQNMLOXEXC5NPYOO5GBDDSTUOVVMTANCNFSM5G6TNV6A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Best Regards, Satish Inuganti, +32-476174436
Closing this as there is no activity