Show tool tip when prettifying JSON fails

This was also the behavior prior to last commit.