Descriptive error message when release fails

We have seen some cases were releasing a machine fails because MAAS is unable to power off the machine using power controls. MAAS tries to release the machine, then fails and returns the machine to “Failed deployment” or “Deployed” (whatever the previous state was). Currently, the error message is “ExitError: Exit status 1”, but I wish this error message would be more descriptive depending on what actually failed, as it could have saved some debugging time.