Backport of catching message of the RobustnessPasswordChecker