Currently when execute() throws a ProcessExecutionError, it returns the command without masking passwords. In the one place where it logs the command, it correctly masks the password.
It would be prudent to mask the password in the exception as well so that upstream catchers don't have to go through the mask_password() motions.
Currently when execute() throws a ProcessExecutio nError, it returns the command without masking passwords. In the one place where it logs the command, it correctly masks the password.
It would be prudent to mask the password in the exception as well so that upstream catchers don't have to go through the mask_password() motions.