Fix an error for Layout/RescueEnsureAlignment
#10017
Merged
Layout/RescueEnsureAlignment
#10017