Gild the Pill

(To). To do something to make a disagreeable task less
offensive, as a pill is gilded to make it less offensive to the sight
and taste. Children's powders are hidden in jam, and authors are
“damned with faint praise.”